feat(bundle): add webpack clean plugin

To avoid unnecessary and broken files in the build directory.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth
2023-02-17 18:19:37 +01:00
parent 5552be1412
commit a44ae8b27b
3 changed files with 107 additions and 8 deletions

View File

@@ -27,6 +27,7 @@
"body-parser": "^1.15.2",
"chance": "^1.0.4",
"cheerio": "^0.22.0",
"clean-webpack-plugin": "^4.0.0",
"compression": "^1.6.2",
"connect-flash": "^0.1.1",
"connect-session-sequelize": "^7.1.2",