Skip to content

Commit

Permalink
fix benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry committed Dec 12, 2024
1 parent ad7dd76 commit 8630230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bench/basic.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {earcut, flatten} from '../src/earcut.js';
import earcut, {flatten} from '../src/earcut.js';
import {readFileSync} from 'fs';

const data = JSON.parse(readFileSync(new URL('../test/fixtures/building.json', import.meta.url)));
Expand Down
2 changes: 1 addition & 1 deletion bench/bench.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {earcut, flatten} from '../src/earcut.js';
import earcut, {flatten} from '../src/earcut.js';
import Benchmark from 'benchmark';
import {readFileSync} from 'fs';

Expand Down

0 comments on commit 8630230

Please sign in to comment.