We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27ca6f5 commit 2242f50Copy full SHA for 2242f50
scripts/compare-builds/web.mjs
@@ -1,10 +1,8 @@
1
import { stat, readdir } from 'node:fs/promises';
2
import path from 'node:path';
3
-import { fileURLToPath } from 'node:url';
4
5
-const [BASE, HEAD] = ['BASE', 'HEAD'].map(env =>
6
- fileURLToPath(import.meta.resolve(`../../out/${process.env[env]}/web`))
7
-);
+const BASE = import.meta.resolve(`../../out/base`);
+const HEAD = import.meta.resolve(`../../out/head`);
8
9
/**
10
* Formats bytes into human-readable format
0 commit comments