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 support #15
Comments
webpack5 doesn't include polyfills for node core modules anymore. works fine if you add:
in package.json / devDependencies and
in webpack.conf |
only add "stream" and "buffer" can also work in package.json
|
Confirmed for my CRA with react-scripts 5.0.0. No webpack.conf changes needed. |
I had the same problem of this with Vite, but even after adding stream / buffer but then it failed with emitter, then I added npm emitter, now it fails with SA. I don't think this package works well with Vite. |
@GimpMaster |
Version 2.0.0-beta.4 published. Version 2.0.0 comming soon |
Version 2.0.0 release fixing the compatibility with webpack 5 |
The text was updated successfully, but these errors were encountered: