Clean unused js files #123
Labels
bug
Something isn't working
enhancement
New feature or request
Optimize
related to optimize command
webpack
stuff related to webpack affecting the dev server or the optimize command
Arjan will create a js file for every HTML file.
After the build (optimize) Any JS files created for an HTML file that didnt exist during development should be deleted.
Check out the clean-webpack-plugin for this.
https://www.npmjs.com/package/clean-webpack-plugin#about
probably will have to do it by hand..
Also all the stylesheets imports must be removed from the JS files.
The text was updated successfully, but these errors were encountered: