商城测试版v8_2

This commit is contained in:
2022-07-30 20:29:18 +08:00
parent 09e34ecabe
commit bcce0ce036
5 changed files with 69 additions and 68 deletions
+1 -11
View File
@@ -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'),
},