Skip to content

Commit

Permalink
Update benchmark script to be an es module
Browse files Browse the repository at this point in the history
  • Loading branch information
mfogel committed Dec 16, 2023
1 parent b97671e commit 31363ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bench/bench.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* eslint no-console: "off" */

const load = require("load-json-file")
const Benchmark = require("benchmark")
const jstsUnion = require("@turf/union")
const w8r = require("martinez-polygon-clipping")
const mfogel = require("..")
import { default as load } from "load-json-file"
import { default as Benchmark } from "benchmark"
import { default as jstsUnion } from "@turf/union"
import { default as w8r } from "martinez-polygon-clipping"
import { default as mfogel } from "../dist/polygon-clipping.esm.js"

/**
* Benchmark results ( c9b02e5 )
Expand Down

0 comments on commit 31363ea

Please sign in to comment.