-
Notifications
You must be signed in to change notification settings - Fork 10
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
Conflict with CleanWebpackPlugin #58
Comments
Unfortunately no :(. |
/cc @ShogunPanda |
It seems like CleanWebpackPlugin is using the compiler By adding a log in the hook, I see that only the 'main.js' file is in the assets, none of the "pino files" are part of it... |
I found a ggod article about childCompiler: https://medium.com/@prateekbh/my-experience-writing-a-webpacks-child-compiler-plugin-a1237c175947
I'm still a bit confused about where to put the additionalAssets hook, but seem to be the good direction 😅 |
OK. I got the solution running, but I never made a PR 😅 |
Made it (this is my personal account) 😎 #59 (my first PR, I'm so proud) |
It seems that CleanWebpackPlugin is removing files generated by this plugin...
I'm currently investigating a bit to find out if the plugin is emitting files too soon, or CleanWebpackPlugin is removing files too late... I don't have much time to spend on this, so it could take a bit of time for me to find out.
If anyone already knows the plugin quite well and the answer, please let me know ;-)
The text was updated successfully, but these errors were encountered: