Skip to content

Commit

Permalink
feat(alita): 添加rn包没有映射时候的警告提示
Browse files Browse the repository at this point in the history
  • Loading branch information
ykforerlang committed Oct 28, 2019
1 parent 096b5f2 commit 8b3b496
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/geneWXPackageJSON.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default function geneWXPackageJSON(wxName, dm) {
newDep[name] = version
}
} else {
console.log(`${depKey} 未指定微信小程序版本,请确认此包在小程序环境运行正常!`.warn)
newDep[depKey] = pack.dependencies[depKey]
}
})
Expand Down

0 comments on commit 8b3b496

Please sign in to comment.