Dep cleanup
This commit is contained in:
parent
2f6ad2634e
commit
5a4714cb40
File diff suppressed because it is too large
Load Diff
|
@ -51,8 +51,9 @@
|
||||||
"vue-select": "^3.10.3"
|
"vue-select": "^3.10.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/cli-service": "^4.3.1",
|
"@vue/cli-service": "^4.4.1",
|
||||||
"copyfiles": "^2.2.0",
|
"copyfiles": "^2.3.0",
|
||||||
|
"duplicate-package-checker-webpack-plugin": "^3.0.0",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-plugin-vue": "^5.2.3",
|
"eslint-plugin-vue": "^5.2.3",
|
||||||
"sass": "^1.26.3",
|
"sass": "^1.26.3",
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
|
||||||
|
const DuplicatePackageCheckerPlugin = require('duplicate-package-checker-webpack-plugin');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
publicPath: './',
|
publicPath: './',
|
||||||
|
@ -9,6 +10,7 @@ module.exports = {
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
plugins: [
|
plugins: [
|
||||||
process.argv.includes('--analyze') && new BundleAnalyzerPlugin(),
|
process.argv.includes('--analyze') && new BundleAnalyzerPlugin(),
|
||||||
|
process.argv.includes('--analyze') && new DuplicatePackageCheckerPlugin(),
|
||||||
].filter(x => !!x),
|
].filter(x => !!x),
|
||||||
},
|
},
|
||||||
chainWebpack: config => {
|
chainWebpack: config => {
|
||||||
|
@ -18,4 +20,4 @@ module.exports = {
|
||||||
return options;
|
return options;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
|
|
Loading…
Reference in New Issue