summaryrefslogtreecommitdiff
path: root/benchmark/bench/_util.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bench/_util.js')
-rw-r--r--benchmark/bench/_util.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/benchmark/bench/_util.js b/benchmark/bench/_util.js
new file mode 100644
index 000000000..b61c79a78
--- /dev/null
+++ b/benchmark/bench/_util.js
@@ -0,0 +1,3 @@
+import { createRequire } from 'module';
+
+export const astroBin = createRequire(import.meta.url).resolve('astro');