You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using react-map-gl-draw in an environment that builds with webpack, the version of @turf/difference that is installed alongside react-map-gl-draw fails because of a .mjs file. Issue on @turf/difference.
It seems that reverting back to the previous version fixes the problem.
Actual Result
When building a project with react-map-gl-draw using webpack the following error occurs: ERROR in ./node_modules/@turf/difference/index.mjs 52:22-35 Can't import the named export 'diff' from non EcmaScript module (only default export is available)
Expected Result
The project compiles successfully
The text was updated successfully, but these errors were encountered:
Describe the bug
When using react-map-gl-draw in an environment that builds with webpack, the version of @turf/difference that is installed alongside react-map-gl-draw fails because of a .mjs file. Issue on @turf/difference.
It seems that reverting back to the previous version fixes the problem.
Actual Result
When building a project with react-map-gl-draw using webpack the following error occurs:
ERROR in ./node_modules/@turf/difference/index.mjs 52:22-35 Can't import the named export 'diff' from non EcmaScript module (only default export is available)
Expected Result
The project compiles successfully
The text was updated successfully, but these errors were encountered: