移除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": "^7.32.0",
|
||||||
"eslint-plugin-vue": "^8.0.3",
|
"eslint-plugin-vue": "^8.0.3",
|
||||||
"sass": "^1.32.7",
|
"sass": "^1.32.7",
|
||||||
"sass-loader": "^12.0.0",
|
"sass-loader": "^12.0.0"
|
||||||
"webpack-bundle-analyzer": "^4.9.1"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@aashutoshrathi/word-wrap": {
|
"node_modules/@aashutoshrathi/word-wrap": {
|
||||||
|
@@ -35,7 +35,6 @@
|
|||||||
"eslint": "^7.32.0",
|
"eslint": "^7.32.0",
|
||||||
"eslint-plugin-vue": "^8.0.3",
|
"eslint-plugin-vue": "^8.0.3",
|
||||||
"sass": "^1.32.7",
|
"sass": "^1.32.7",
|
||||||
"sass-loader": "^12.0.0",
|
"sass-loader": "^12.0.0"
|
||||||
"webpack-bundle-analyzer": "^4.9.1"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
const { defineConfig } = require('@vue/cli-service')
|
const { defineConfig } = require('@vue/cli-service')
|
||||||
var webpack = require('webpack')
|
var webpack = require('webpack')
|
||||||
var BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
|
|
||||||
module.exports = defineConfig({
|
module.exports = defineConfig({
|
||||||
transpileDependencies: true,
|
transpileDependencies: true,
|
||||||
chainWebpack: config => {
|
chainWebpack: config => {
|
||||||
@@ -19,9 +18,6 @@ module.exports = defineConfig({
|
|||||||
'windows.jQuery': 'jquery',
|
'windows.jQuery': 'jquery',
|
||||||
Popper: ['popper.js', 'default']
|
Popper: ['popper.js', 'default']
|
||||||
}),
|
}),
|
||||||
// new BundleAnalyzerPlugin({
|
|
||||||
// openAnalyzer: false
|
|
||||||
// })
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
|
Reference in New Issue
Block a user