Commit 1fbde25e by 张杰

修改打包配置

1 parent e32edf40
...@@ -60,7 +60,10 @@ module.exports = { ...@@ -60,7 +60,10 @@ module.exports = {
jsonpFunction: `webpackJsonp_${name}` jsonpFunction: `webpackJsonp_${name}`
}, },
plugins: [ plugins: [
new BundleAnalyzerPlugin() new BundleAnalyzerPlugin({
analyzerMode:'disabled', // 不启动打包报告http服务器
generateStatsFile:true, // 是否生成stats.json文件
})
], ],
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!