mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 03:09:39 -06:00
Ensure built/local exists before producing typesMap.json (#52468)
This commit is contained in:
parent
41edecd26d
commit
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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user