-
Notifications
You must be signed in to change notification settings - Fork 100
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
rsocket-websocket-client 1.0.0 browser version compilation with WebPack 5 > example #245
Comments
Hi @maxim-bandurko-lsvt, specifically which errors are you receiving? If you are receiving an error about |
@viglucci Hello. Buffer polyfill, yes, it is added. Also, added polyfills to other libraries that are used from nodejs. So, after adding all this, I am getting this error now:
That has just:
At WebPack config I have these plugins:
And these resolves:
Also, because of
At package.json I have these dependencies added:
Thank you. |
Hey @maxim-bandurko-lsvt not sure you need to add all those additional polyfills, but hard to say without knowing more about the app you are building. I've put together a minimal working example using only |
@viglucci Thank you for example. It is working. My mistake was that had imported All is working properly, thank you. |
Thanks for the update @maxim-bandurko-lsvt , happy to hear you got it working on your end! |
@viglucci Thanks to you too! |
Hello.
Was trying to compile it for browser using WebPack 5 by adding all needed nodejs polyfills that are used, but failed. Using
node-polyfill-webpack-plugin
it fails also.Do you have any setup example how to make it working?
Thank you
The text was updated successfully, but these errors were encountered: