Merge pull request #258 from rubickCenter/feat/v4.x

💚 fix ci
This commit is contained in:
木偶 2023-10-12 16:02:08 +08:00 committed by GitHub
commit 0233bda981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View File

@ -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",

View File

@ -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);
}, // },
}; };