Closed rasmuswoelk closed 8 years ago
personally i use this https://github.com/johnagan/clean-webpack-plugin but there might be other options. hope it helps
Thanks!
@danethurber but doesnt this remove the whole folder? doesnt make this the whole "chunkhash blabla" in the filename obsolete? So the browser has to load ALL again? Am i wrong?
Edit: Ahh i see, it removes the whole folder but it generates new files but with "old" hashes in the name, exept this files which was altered!
Hi
I'm using your plugin for versioning on my site but after a lot of saves I get a lot of cached files in my build-folder, which goes to github.
I'm kinda new to webpack but I was hoping there is some solution that deletes all files in the folder when it generates new hashed-files. Is is possible in some way?
Thanks!