mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-07 19:14:11 +08:00
commit
0233bda981
@ -5,8 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve --port 8081",
|
"serve": "vue-cli-service serve --port 8081",
|
||||||
"build": "vue-cli-service build",
|
"build": "vue-cli-service build",
|
||||||
"lint": "vue-cli-service lint",
|
"lint": "vue-cli-service lint"
|
||||||
"report": "vue-cli-service build --report"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/icons-vue": "^6.0.1",
|
"@ant-design/icons-vue": "^6.0.1",
|
||||||
|
@ -13,10 +13,10 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
outputDir: path.join(__dirname, '../public/feature'),
|
outputDir: path.join(__dirname, '../public/feature'),
|
||||||
publicPath: process.env.NODE_ENV === 'production' ? '' : '/',
|
publicPath: process.env.NODE_ENV === 'production' ? '' : '/',
|
||||||
chainWebpack: (config) => {
|
// chainWebpack: (config) => {
|
||||||
// 查看打包文件体积大小
|
// // 查看打包文件体积大小
|
||||||
config
|
// config
|
||||||
.plugin('webpack-bundle-analyzer')
|
// .plugin('webpack-bundle-analyzer')
|
||||||
.use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin);
|
// .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin);
|
||||||
},
|
// },
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user