Skip to content

Commit d2bb7fa

Browse files
committed
[wip]
1 parent 2242f50 commit d2bb7fa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/compare-builds/web.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { stat, readdir } from 'node:fs/promises';
22
import path from 'node:path';
3+
import { fileURLToPath } from 'node:url';
34

4-
const BASE = import.meta.resolve(`../../out/base`);
5-
const HEAD = import.meta.resolve(`../../out/head`);
5+
const BASE = fileURLToPath(import.meta.resolve(`../../out/base`));
6+
const HEAD = fileURLToPath(import.meta.resolve(`../../out/head`));
67

78
/**
89
* Formats bytes into human-readable format

0 commit comments

Comments
 (0)