-
Notifications
You must be signed in to change notification settings - Fork 5
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
Webpack 5 compatibility #2
Comments
The code of the custom target is based on "web" target in Webpack 4 which is the Webpack version that Neutrinojs is depending. |
Once Webpack 5 is mature enough and is wildly adopted by Neutrino presets the code should change accordingly. |
hi, @crimx webpack 5 has released! |
Good to know! Would you like to make a PR? Since my projects are based on Neutrino which is still on 4, I am not in a hurry to upgrade to Webpack 5 until my next new project. |
Ah I'm not familiar with webpack internal. Maybe I need to test if |
Hey @crimx. Do you have a plan to switch it to Webpack 5? |
Not at the moment unfortunately. Still waiting for neutrinojs. For browser extension development webpack 4 is more than enough though. |
Thank you for your quick answer. But if we will think in the direction Anyway, Webpack 5 gives a lot of improvements in tree-shacking which can be helpful. |
If it works well I don't see anything wrong with using grunt which is still a powerful tool.
In browser extension bundle size has very little impact since they are loaded from the filesystem. |
I like new |
This library depends on webpack/lib/FunctionModulePlugin but it is removed in Webpack 5
The text was updated successfully, but these errors were encountered: