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

fix(v3): add transpileDependencies

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