Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Commit 47fe357

Browse files
committed
Hak ESM friendly 2.0
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 10564a5 commit 47fe357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/hak/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async function main(): Promise<void> {
9090

9191
for (const s of HAKSCRIPTS) {
9292
if (hakJson.scripts?.[s]) {
93-
const scriptModule = await import(path.join("file://", prefix, "hak", dep, hakJson.scripts[s]));
93+
const scriptModule = await import(path.join(prefix, "hak", dep, hakJson.scripts[s]));
9494
if (scriptModule.default) {
9595
deps[dep].scripts[s] = scriptModule.default;
9696
} else {

0 commit comments

Comments
 (0)