Skip to content

Commit e6b3f2d

Browse files
authoredMar 19, 2025
Earcut: Copy mapbox/earcut file into core libs (#30756)
* Copy the earcut file instead * Remove earcut dev dependency * Add version link
1 parent 3955b05 commit e6b3f2d

File tree

5 files changed

+690
-30
lines changed

5 files changed

+690
-30
lines changed
 

‎package-lock.json

-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@
9898
"chalk": "^5.2.0",
9999
"concurrently": "^9.0.0",
100100
"dpdm": "^3.14.0",
101-
"earcut": "3.0.1",
102101
"eslint": "^8.37.0",
103102
"eslint-config-mdcs": "^5.0.0",
104103
"eslint-plugin-compat": "^6.0.0",

‎src/extras/Earcut.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import earcut from 'earcut';
1+
import earcut from './lib/earcut.js';
22

33
class Earcut {
44

0 commit comments

Comments
 (0)
Failed to load comments.