fix clip2/earcut deps
This commit is contained in:
parent
9a74e5aca8
commit
7693b3d9ce
14 changed files with 105 additions and 68 deletions
|
|
@ -1,6 +1,7 @@
|
|||
/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
|
||||
|
||||
import { newPoint } from './point.js';
|
||||
import earcut from '../ext/earcut.js';
|
||||
|
||||
const round_decimal_precision = 5;
|
||||
|
||||
|
|
@ -843,9 +844,5 @@ function v2pr(rec) {
|
|||
return p;
|
||||
}
|
||||
|
||||
const earcut = self.earcut;
|
||||
|
||||
// Export the base object and its properties
|
||||
export { base };
|
||||
export { earcut };
|
||||
export { base, earcut };
|
||||
export const { config, key, util, paths } = base;
|
||||
|
|
|
|||
Loading…
Reference in a new issue