Skip to content

Commit

Permalink
Fix warning in build guessing libraries name (#88)
Browse files Browse the repository at this point in the history
- No name was provided for external module "@mapbox/mapbox-gl-draw" in "output.globals" – guessing "MapboxDraw".
- No name was provided for external module "@turf/boolean-point-in-polygon" in "output.globals" – guessing "booleanPointInPolygon".

Signed-off-by: Tristan <[email protected]>
  • Loading branch information
Tristan-WorkGH authored Dec 6, 2024
1 parent 5eb0c5b commit 63c6ad8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ export default defineConfig((config) => ({
'@luma.gl/constants': 'LumaGlConstants',
'@luma.gl/core': 'LumaGlCore',
'@svgdotjs/svg.js': 'SvgJs',
'@mapbox/mapbox-gl-draw': 'MapboxGlDraw',
'@turf/boolean-point-in-polygon': 'BooleanPointInPolygon',
},
},
},
Expand Down

0 comments on commit 63c6ad8

Please sign in to comment.