From 6c51a36dbc7da56c920295e5f022a775e23325ab Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Sun, 18 Feb 2024 15:12:59 -0800 Subject: [PATCH] Prevent standalone builds from modifying the tsconfig.json. --- tsconfig.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 35382e282..dd439c8a7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -35,6 +35,9 @@ "~/server/*": ["src/server/*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", + // this is here only because otherwise, during standalone build the process would update this file + "dist/types/**/*.ts" + ], "exclude": ["node_modules", "dist", "electron"] }