From 38d6464f55f717f082f231bc0aba8794e803c65e Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 25 May 2024 18:13:11 +0530 Subject: [PATCH] muppets --- web/packages/build-config/tsconfig-next.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/web/packages/build-config/tsconfig-next.json b/web/packages/build-config/tsconfig-next.json index 922ba7a7c..07d38312d 100644 --- a/web/packages/build-config/tsconfig-next.json +++ b/web/packages/build-config/tsconfig-next.json @@ -3,6 +3,12 @@ "extends": "@/build-config/tsconfig-typecheck.json", "compilerOptions": { /* Also indicate expectation of a WebWorker runtime */ - "lib": ["ESnext", "DOM", "DOM.Iterable", "WebWorker"] - } + "lib": ["ESnext", "DOM", "DOM.Iterable", "WebWorker"], + + /* Next.js insists on adding these. Sigh. */ + "allowJs": true, + "incremental": true + }, + /* Next.js insists on adding this, even though we don't need it. */ + "exclude": ["node_modules"] }