Babel-loader & react-leaflet doesn't work for me #1052
NicolasEsqui01
started this conversation in
General
Replies: 1 comment
-
It seems that you are using webpack 4, please upgrade to webpack 5. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following error
./node_modules/@react-leaflet/core/lib/path.js 10:41
Module parse failed: Unexpected token (10:41)
File was processed with these loaders:
You may need an additional loader to handle the result of these loaders.
| useEffect(function updatePathOptions() {
| if (props.pathOptions !== optionsRef.current) {
| element.instance.setStyle(options);
| optionsRef.current = options;
Beta Was this translation helpful? Give feedback.
All reactions