移除webpack-bundle-analyzer

This commit is contained in:
liaozetao
2023-11-09 12:35:15 +08:00
parent a45b21348b
commit 033431397a
3 changed files with 2 additions and 8 deletions

3
package-lock.json generated
View File

@@ -35,8 +35,7 @@
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"sass": "^1.32.7",
"sass-loader": "^12.0.0",
"webpack-bundle-analyzer": "^4.9.1"
"sass-loader": "^12.0.0"
}
},
"node_modules/@aashutoshrathi/word-wrap": {

View File

@@ -35,7 +35,6 @@
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"sass": "^1.32.7",
"sass-loader": "^12.0.0",
"webpack-bundle-analyzer": "^4.9.1"
"sass-loader": "^12.0.0"
}
}

View File

@@ -1,6 +1,5 @@
const { defineConfig } = require('@vue/cli-service')
var webpack = require('webpack')
var BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
module.exports = defineConfig({
transpileDependencies: true,
chainWebpack: config => {
@@ -19,9 +18,6 @@ module.exports = defineConfig({
'windows.jQuery': 'jquery',
Popper: ['popper.js', 'default']
}),
// new BundleAnalyzerPlugin({
// openAnalyzer: false
// })
],
},
devServer: {