Manav Rathi 1 년 전
부모
커밋
38d6464f55
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 8 2
      web/packages/build-config/tsconfig-next.json

+ 8 - 2
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"]
 }