webpack-clean-obsolete-chunks
webpack-clean-obsolete-chunks copied to clipboard
Can this plugin be extended to also delete removed entries?
My use case involves building multiple entries to be able to run Jest tests in parallel. I'm using wildcards-entry-webpack-plugin
to monitor any newly added test files in watch mode and compile them so that Jest can pick them up. This works as expected, but the problem is that if I remove a test file (an entry file), it does not get removed from the destination directory and Jest will still try to run these tests and fail. Can this plugin be extended to reflect removal of entry files as well?
Hi @forabi! OK, I'll look at it when I have time (probably within next week)
Awesome! Thanks! Is there anything I can help with? I don't know a lot about Webpack's APIs but I might be able to get something to work if I could just find the documentation for compliation
in order to access the entries.
Thank you, you could create PR with this implementation if you wanted to. But it's not necessary, I'll look at it myself anyway.
Any updates on this? Great plugin btw!