Skip to content

Commit ef2d363

Browse files
authored
Ensure built/local exists before producing typesMap.json (#52468)
1 parent 41edecd commit ef2d363

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Herebyfile.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ const { main: watchGuard, watch: watchWatchGuard } = entrypointBuildTask({
515515
export const generateTypesMap = task({
516516
name: "generate-types-map",
517517
run: async () => {
518+
await fs.promises.mkdir("./built/local", { recursive: true });
518519
const source = "src/server/typesMap.json";
519520
const target = "built/local/typesMap.json";
520521
const contents = await fs.promises.readFile(source, "utf-8");

0 commit comments

Comments
 (0)