Initial commit

This commit is contained in:
Qingtian239113
2022-03-28 11:26:51 +08:00
commit a379f2c2da
37 changed files with 1689 additions and 0 deletions

17
config/prod.js Normal file
View File

@@ -0,0 +1,17 @@
module.exports = {
env: {
NODE_ENV: '"production"'
},
defineConstants: {},
mini: {},
h5: {
/**
* 如果h5端编译后体积过大可以使用webpack-bundle-analyzer插件对打包体积进行分析。
* 参考代码如下:
* webpackChain (chain) {
* chain.plugin('analyzer')
* .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin, [])
* }
*/
}
};