-
Notifications
You must be signed in to change notification settings - Fork 196
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
Update webpack to v5 #32
Comments
working on it...got rid of the item.node error but many other things to fix...keep u updated |
Seems we'll need to fork https://github.com/nitram509/macaroons.js & https://github.com/Tierion/lsat-js due to incompatibilities. Webpack 5 has removed automatic polyfill loading and it seems we need to add fallback resolve statements into those modules.
UPDATE: fixed that |
running firefox dev from sep config file partly fix for #32 removed many path.joins that need to be repaired needs re-enabling of plugins
no forking for crypto libraries! :D |
the not so well documented alias and installing the polyfills manually solved this. |
the extension reloader plugin seems to be the issue: rubenspgcavalcante/webpack-extension-reloader#110 |
we could give https://github.com/webextension-toolbox/webextension-toolbox a spin UPDATE: oh --> he's struggling updating to wp5 lets see if we can find a webpack wizard instead |
Currently we are using Webpack v4 (as provided by the extension boilerplate) we should update to v5.
Maybe this also makes it easier to have good source maps? (#23 )
I tried to update all dependencies but getting the following error:
The text was updated successfully, but these errors were encountered: