We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 050a975 commit aaa7067Copy full SHA for aaa7067
benchmarks/index.ts
@@ -1,4 +1,4 @@
1
-import sql, { Sql } from "../src/index";
+import sql, { Sql } from "../src/index.js";
2
import bytes from "bytes";
3
4
const before = process.memoryUsage();
package.json
@@ -25,7 +25,7 @@
25
"node": ">=12"
26
},
27
"scripts": {
28
- "benchmark": "ts-node benchmarks/index.ts",
+ "benchmark": "node --loader=ts-node/esm benchmarks/index.ts",
29
"format": "ts-scripts format",
30
"lint": "ts-scripts lint",
31
"prepare": "ts-scripts install && ts-scripts build",
0 commit comments