Open hubgit opened 5 years ago
Thanks for the repo! I think the right thing to do here is document this behavior in the readme.
Basically if you are using a webpack that modifies files directly instead of letting webpack do the work this will be an issue.
Issue description
workbox-webpack-plugin
has an option to add a versionedworkbox
folder to the output directory.When
clean-webpack-plugin
v3 is in the plugins list beforeworkbox-webpack-plugin
everything works as expected, but when it's in the plugins list afterworkbox-webpack-plugin
the versionedworkbox
folder is missing.With
clean-webpack-plugin
v2 theworkbox
folder is always present.Webpack Config
Environment
Repository to reproduce the issue: https://github.com/hubgit/clean-workbox-example