商城测试版v8_2
This commit is contained in:
+1
-11
@@ -3,7 +3,6 @@ module.exports = {
|
||||
env: {
|
||||
NODE_ENV: '"pre"',
|
||||
},
|
||||
outputRoot: 'pre_dis',
|
||||
defineConstants: {},
|
||||
mini: {
|
||||
optimizeMainPackage: {
|
||||
@@ -32,16 +31,7 @@ module.exports = {
|
||||
})
|
||||
},
|
||||
},
|
||||
h5: {
|
||||
/**
|
||||
* 如果h5端编译后体积过大,可以使用webpack-bundle-analyzer插件对打包体积进行分析。
|
||||
* 参考代码如下:
|
||||
* webpackChain (chain) {
|
||||
* chain.plugin('analyzer')
|
||||
* .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin, [])
|
||||
* }
|
||||
*/
|
||||
},
|
||||
h5: {},
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, '..', 'src'),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user