Upgrade front-end dependencies

This commit is contained in:
NI
2021-12-17 21:23:38 +08:00
parent 8dd625a75c
commit db3ebc59b1
3 changed files with 911 additions and 1810 deletions

2687
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,18 +4,18 @@
"description": "Sshwifty Web Front-end Project",
"main": "",
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.16.3",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/preset-env": "^7.16.4",
"@babel/register": "^7.16.0",
"@babel/runtime": "^7.16.3",
"@babel/core": "^7.16.5",
"@babel/eslint-parser": "^7.16.5",
"@babel/plugin-transform-runtime": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/register": "^7.16.5",
"@babel/runtime": "^7.16.5",
"babel-loader": "^8.2.3",
"buffer": "^6.0.3",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^10.1.0",
"copy-webpack-plugin": "^10.2.0",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.2.0",
"css-minimizer-webpack-plugin": "^3.3.0",
"cwebp-bin": "^7.0.1",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
@@ -29,20 +29,20 @@
"html-loader": "^3.0.1",
"html-webpack-plugin": "^5.5.0",
"iconv-lite": "^0.6.3",
"image-minimizer-webpack-plugin": "^3.0.1",
"image-minimizer-webpack-plugin": "^3.1.1",
"imagemin": "^8.0.1",
"imagemin-gifsicle": "^7.0.0",
"imagemin-mozjpeg": "^9.0.0",
"imagemin-mozjpeg": "^10.0.0",
"imagemin-pngquant": "^9.0.2",
"imagemin-svgo": "^10.0.0",
"imagemin-webp": "^6.0.0",
"imagemin-svgo": "^10.0.1",
"imagemin-webp": "^7.0.0",
"mini-css-extract-plugin": "^2.4.5",
"mocha": "^9.1.3",
"normalize.css": "^8.0.1",
"prettier": "^2.5.1",
"roboto-fontface": "^0.10.0",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.2.5",
"terser-webpack-plugin": "^5.3.0",
"vue": "^2.6.14",
"vue-loader": "^15.9.8",
"vue-template-compiler": "^2.6.14",

View File

@@ -444,10 +444,10 @@ module.exports = {
implementation: ImageMinimizerPlugin.imageminMinify,
options: {
plugins: [
["imagemin-gifsicle", { interlaced: true, }],
["imagemin-mozjpeg", { progressive: true, }],
["imagemin-pngquant", { quality: [0.02, 0.2], }],
// ["imagemin-svgo", { plugins: ["preset-default"], }],
["imagemin-gifsicle", { interlaced: true }],
["imagemin-mozjpeg", { progressive: true }],
["imagemin-pngquant", { quality: [0.02, 0.2] }],
["imagemin-svgo", { plugins: ["preset-default"] }],
],
},
},