diff --git a/feature/package.json b/feature/package.json index 5ec34f2..97a1c9f 100644 --- a/feature/package.json +++ b/feature/package.json @@ -5,8 +5,7 @@ "scripts": { "serve": "vue-cli-service serve --port 8081", "build": "vue-cli-service build", - "lint": "vue-cli-service lint", - "report": "vue-cli-service build --report" + "lint": "vue-cli-service lint" }, "dependencies": { "@ant-design/icons-vue": "^6.0.1", diff --git a/feature/vue.config.js b/feature/vue.config.js index acb93a6..a554086 100644 --- a/feature/vue.config.js +++ b/feature/vue.config.js @@ -13,10 +13,10 @@ module.exports = { }, outputDir: path.join(__dirname, '../public/feature'), publicPath: process.env.NODE_ENV === 'production' ? '' : '/', - chainWebpack: (config) => { - // 查看打包文件体积大小 - config - .plugin('webpack-bundle-analyzer') - .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin); - }, + // chainWebpack: (config) => { + // // 查看打包文件体积大小 + // config + // .plugin('webpack-bundle-analyzer') + // .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin); + // }, };