提交 0677225f 编写于 作者: fxy060608's avatar fxy060608

fix(mp-alipay): global usingComponents #592

上级 27ededb4
const { const {
parsePages parsePages
} = require('@dcloudio/uni-cli-shared') } = require('@dcloudio/uni-cli-shared')
const {
updateAppJsonUsingComponents
} = require('@dcloudio/uni-cli-shared/lib/cache')
const { const {
hasOwn, hasOwn,
...@@ -59,6 +63,10 @@ module.exports = function (pagesJson, manifestJson) { ...@@ -59,6 +63,10 @@ module.exports = function (pagesJson, manifestJson) {
}) })
copyToJson(app, pagesJson, pagesJson2AppJson) copyToJson(app, pagesJson, pagesJson2AppJson)
if (app.usingComponents) {
updateAppJsonUsingComponents(app.usingComponents)
}
return [{ return [{
name: 'app', name: 'app',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册