Skip to content

Commit bb1ce14

Browse files
committed
Output relative to __dirname
1 parent 3db32b5 commit bb1ce14

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ const context = await esbuild.context({
7878
});
7979

8080
const result = await context.rebuild();
81-
await writeFile("meta.json", JSON.stringify(result.metafile));
81+
await writeFile(
82+
path.join(__dirname, "meta.json"),
83+
JSON.stringify(result.metafile),
84+
);
8285

8386
await context.dispose();

0 commit comments

Comments
 (0)