We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
__dirname
1 parent 3db32b5 commit bb1ce14Copy full SHA for bb1ce14
build.mjs
@@ -78,6 +78,9 @@ const context = await esbuild.context({
78
});
79
80
const result = await context.rebuild();
81
-await writeFile("meta.json", JSON.stringify(result.metafile));
+await writeFile(
82
+ path.join(__dirname, "meta.json"),
83
+ JSON.stringify(result.metafile),
84
+);
85
86
await context.dispose();
0 commit comments