更新依赖

pull/389/head
lyswhut 2020-10-17 16:09:29 +08:00
parent dae6826cc1
commit 0f135e0587
5 changed files with 1120 additions and 1422 deletions

View File

@ -23,7 +23,7 @@ module.exports = merge(baseConfig, {
onErrors(severity, errors) { // Silent warning from electron-debug
if (severity != 'warning') return
for (let i = errors.length; i > -1; i--) {
for (let i = errors.length - 1; i > -1; i--) {
const error = errors[i]
if (error.file == './node_modules/electron-debug/index.js') errors.splice(i, 1)
}

View File

@ -32,15 +32,11 @@ module.exports = merge(baseConfig, {
NODE_ENV: '"production"',
},
}),
new webpack.NamedChunksPlugin(),
],
optimization: {
chunkIds: 'named',
minimizer: [
new TerserPlugin({
cache: true,
parallel: true,
sourceMap: false, // set to true if you want JS source maps
}),
new TerserPlugin(),
new OptimizeCSSAssetsPlugin({}),
],
},

View File

@ -32,15 +32,11 @@ module.exports = merge(baseConfig, {
NODE_ENV: '"production"',
},
}),
new webpack.NamedChunksPlugin(),
],
optimization: {
chunkIds: 'named',
minimizer: [
new TerserPlugin({
cache: true,
parallel: true,
sourceMap: false, // set to true if you want JS source maps
}),
new TerserPlugin(),
new OptimizeCSSAssetsPlugin({}),
],
},

2494
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -158,12 +158,12 @@
},
"homepage": "https://github.com/lyswhut/lx-music-desktop#readme",
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/core": "^7.12.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-modules-umd": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/polyfill": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/plugin-transform-modules-umd": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-minify-webpack-plugin": "^0.3.1",
@ -171,16 +171,16 @@
"cfonts": "^2.8.6",
"chalk": "^4.1.0",
"changelog-parser": "^2.8.0",
"copy-webpack-plugin": "^6.2.0",
"copy-webpack-plugin": "^6.2.1",
"core-js": "^3.6.5",
"cross-env": "^7.0.2",
"css-loader": "^4.3.0",
"del": "^6.0.0",
"electron": "^10.1.3",
"electron-builder": "^22.8.1",
"electron-builder": "^22.9.1",
"electron-debug": "^3.1.0",
"electron-devtools-installer": "^3.1.1",
"eslint": "^7.10.0",
"eslint": "^7.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-formatter-friendly": "^7.0.0",
"eslint-loader": "^4.0.2",
@ -189,26 +189,26 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"file-loader": "^6.1.0",
"file-loader": "^6.1.1",
"friendly-errors-webpack-plugin": "^1.7.0",
"html-webpack-plugin": "^4.5.0",
"less": "^3.12.2",
"less-loader": "^7.0.1",
"less-loader": "^7.0.2",
"markdown-it": "^11.0.1",
"mini-css-extract-plugin": "^0.12.0",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"postcss-loader": "^4.0.3",
"postcss-loader": "^4.0.4",
"postcss-pxtorem": "^5.1.1",
"pug": "^3.0.0",
"pug-loader": "^2.4.0",
"pug-plain-loader": "^1.0.0",
"raw-loader": "^4.0.1",
"raw-loader": "^4.0.2",
"rimraf": "^3.0.2",
"spinnies": "^0.5.1",
"stylus": "^0.54.8",
"stylus-loader": "^4.1.0",
"stylus-loader": "^4.1.1",
"terser-webpack-plugin": "^4.2.3",
"url-loader": "^4.1.0",
"url-loader": "^4.1.1",
"vue-loader": "^15.9.3",
"vue-template-compiler": "^2.6.12",
"webpack": "^4.44.2",
@ -232,7 +232,7 @@
"request": "^2.88.2",
"vue": "^2.6.12",
"vue-i18n": "^8.22.0",
"vue-router": "^3.4.6",
"vue-router": "^3.4.7",
"vuex": "^3.5.1",
"vuex-router-sync": "^5.0.0"
}