-
Notifications
You must be signed in to change notification settings - Fork 51
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 not supported? #314
Comments
Hi @alonmeiri Could you please provide build error logs? |
Hi, thanks for the quick reply here is an example log, I am getting a bunch of these : ERROR in ./node_modules/react-map-gl/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js 4:0-52 |
Hi @alonmeiri 👋 Could you please try reproducing it with the latest release v1.16.1? |
Hi @stepankuzmin UPD. Sorry for disturbing. I solved the issue. For those who will have problems during a build, pay attention to this. |
Still compilation error with webpack5+. But no proper guide to fix this issue !! lots of error occured during build with webpack 5+ |
Hi, I recently upgraded project webpack from version 4.46.0 to 5.21.0 and there seems to be a build issue with react-map-gl compatibility.
I had version react-map-gl version 5.2.7 installed, and working fine, after upgrading webpack the project doesn't build , when upgrading to any newer react-map-gl version either.
What changes are needed in the configuration in order to build with webpack 5?
The text was updated successfully, but these errors were encountered: