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 f78da17 commit 837439eCopy full SHA for 837439e
packages/compass-web/scripts/clean-dts.mjs
@@ -3,7 +3,8 @@
3
import fs from 'node:fs/promises';
4
import path from 'node:path';
5
6
-const distDir = path.join(import.meta.dirname, '..', 'dist');
+const __dirname = path.dirname(new URL(import.meta.url).pathname);
7
+const distDir = path.join(__dirname, '..', 'dist');
8
9
await Promise.all(
10
(
0 commit comments