提交 5aa2189e 编写于 作者: fxy060608's avatar fxy060608

refactor(cli): usingAutoImportComponent => easycom

上级 43e71a9f
...@@ -312,7 +312,7 @@ const { ...@@ -312,7 +312,7 @@ const {
initAutoImportComponents initAutoImportComponents
} = require('@dcloudio/uni-cli-shared/lib/pages') } = require('@dcloudio/uni-cli-shared/lib/pages')
initAutoImportComponents(pagesJsonObj.usingAutoImportComponents) initAutoImportComponents(pagesJsonObj.easycom)
runByHBuilderX && console.log(`正在编译中...`) runByHBuilderX && console.log(`正在编译中...`)
......
...@@ -56,7 +56,7 @@ module.exports = function (content) { ...@@ -56,7 +56,7 @@ module.exports = function (content) {
}) })
// 组件自动导入配置 // 组件自动导入配置
initAutoImportComponents(pagesJson.usingAutoImportComponents) initAutoImportComponents(pagesJson.easycom)
// TODO 与 usingComponents 放在一块读取设置 // TODO 与 usingComponents 放在一块读取设置
if (manifestJson.transformPx === false) { if (manifestJson.transformPx === false) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册