Closed MerApelsin closed 5 years ago
Are you saying the files are not being deleted? I suspect you need to remove dry: true,
from your configuration.
Well damn, that was indeed it. Don't get why it worked with it earlier (since docs recommend it initially). Thanks for the time taken to figure that one out! 👍 Closing this issue.
Issue description or question
Plugin stopped removing files in dist/ folder, had it working before i added css extraction but I don't think those two should affect each other. Tried googling around but mostly find answers for v1. No clue what I broke but grateful for any hints or insights :)
I've read the "Additional Upgrade Information" but didn't find my issue/way to solve it there. Tried a few patterns, had ['*/ ','!images*','!manifest.json'] working before but as said, somewhere along the lines it broke.
The plugin logs the files in terminal but doesn't do anything with em, neither in --watch or when building, even if the file isn't imported anywhere/used be webpack at all, such as test.js (empty) which I added as a kind of control file:
Webpack Config
Environment