We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c98dc4d commit 05e5de8Copy full SHA for 05e5de8
2 files changed
packages/vue2/source/mobile/vue.config.js
@@ -7,6 +7,10 @@ module.exports = {
7
config.devtool = false;
8
}
9
},
10
+ chainWebpack(config) {
11
+ config.plugins.delete("prefetch");
12
+ config.plugins.delete("preload");
13
+ },
14
lintOnSave: false,
15
runtimeCompiler: true,
16
devServer: {
packages/vue2/source/pc/vue.config.js
@@ -14,6 +14,9 @@ module.exports = {
/// cloud-ui-alias-end
chainWebpack(config) {
17
18
19
+
20
// 构建产物中删除console相关代码
21
// config.optimization.minimizer('terser')
22
// .tap((args) => {
0 commit comments