Compress image, so the final binary data will be smaller, reduce memory usage in runtime.

This commit is contained in:
NI
2019-08-14 12:07:12 +08:00
parent e6c68194ad
commit dee9a66800
3 changed files with 337 additions and 931 deletions

View File

@@ -3,7 +3,9 @@
"version": "0.0.0",
"description": "Sshwifty Web Front-end Project",
"main": "",
"dependencies": {},
"dependencies": {
"imagemin-webpack-plugin": "^2.4.2"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
@@ -24,7 +26,6 @@
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"html-webpack-template": "^6.2.0",
"image-webpack-loader": "^5.0.0",
"mini-css-extract-plugin": "^0.5.0",
"mocha": "^6.2.0",
"normalize.css": "^8.0.1",