Ensure built/local exists before producing typesMap.json (#52468)
This commit is contained in:
Родитель
41edecd26d
Коммит
ef2d363d43
|
@ -515,6 +515,7 @@ const { main: watchGuard, watch: watchWatchGuard } = entrypointBuildTask({
|
|||
export const generateTypesMap = task({
|
||||
name: "generate-types-map",
|
||||
run: async () => {
|
||||
await fs.promises.mkdir("./built/local", { recursive: true });
|
||||
const source = "src/server/typesMap.json";
|
||||
const target = "built/local/typesMap.json";
|
||||
const contents = await fs.promises.readFile(source, "utf-8");
|
||||
|
|
Загрузка…
Ссылка в новой задаче