移除webpack-bundle-analyzer
This commit is contained in:
3
package-lock.json
generated
3
package-lock.json
generated
@@ -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": {
|
||||
|
@@ -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"
|
||||
}
|
||||
}
|
||||
|
@@ -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: {
|
||||
|
Reference in New Issue
Block a user