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

fix(v3): add transpileDependencies

上级 9aae4270
......@@ -45,6 +45,7 @@ const v3 = {
vueConfig: {
parallel: false,
transpileDependencies: [
wxsPath,
runtimePath
]
},
......
......@@ -57,6 +57,10 @@ if (process.env.NODE_ENV !== 'production') {
const vueConfig = {
parallel: false, // 因为传入了自定义 compiler,避免参数丢失,禁用parallel
publicPath,
transpileDependencies: [
wxsPath,
runtimePath
],
pages: {
index: {
// page 的入口
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册