Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this plugin be extended to also delete removed entries? #26

Open
forabi opened this issue Feb 10, 2018 · 4 comments
Open

Can this plugin be extended to also delete removed entries? #26

forabi opened this issue Feb 10, 2018 · 4 comments

Comments

@forabi
Copy link

forabi commented Feb 10, 2018

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?

@GProst
Copy link
Owner

GProst commented Feb 10, 2018

Hi @forabi!
OK, I'll look at it when I have time (probably within next week)

@forabi
Copy link
Author

forabi commented Feb 10, 2018

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.

@GProst
Copy link
Owner

GProst commented Feb 10, 2018

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.

@meglio
Copy link

meglio commented Nov 16, 2018

Any updates on this?
Great plugin btw!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants