提交 43f6ccd6 编写于 作者: fxy060608's avatar fxy060608

fix(v3): config.externals

上级 b8a9a94f
......@@ -50,7 +50,7 @@ if (process.env.UNI_VIEW) { // 方便调试
}
module.exports = function configureWebpack (config) {
if (process.env.UNI_VIEW === 'true') {
delete config.externals['vue']
config.externals && (delete config.externals['vue'])
alias['vue$'] = resolve('packages/uni-app-plus/dist/view.runtime.esm.js')
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册