提交 05b552af authored 作者: xuyanwei's avatar xuyanwei

样式丢失

上级 7f67f42d
......@@ -7,11 +7,17 @@
}
}],
"stage-2"
]
// "plugins": ["transform-vue-jsx", "transform-runtime",
// ["import", {
// "libraryName": "vant",
// "libraryDirectory": "es",
// "style": true
// }]]
],
"plugins": ["transform-vue-jsx", "transform-runtime",
["import", {
"libraryName": "vant",
"libraryDirectory": "es",
"style": true
}]],
"env": {
"test": {
"presets": ["env", "stage-2"],
"plugins": ["transform-vue-jsx", "istanbul"]
}
}
}
......@@ -39,7 +39,7 @@ const webpackConfig = merge(baseWebpackConfig, {
}
},
sourceMap: config.build.productionSourceMap,
parallel: false
parallel: true
}),
// extract css into its own file
new ExtractTextPlugin({
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论