diff --git a/block-01/week-01-the_web_under_the_hood/demo/tsconfig.json b/block-01/week-01-the_web_under_the_hood/demo/tsconfig.json index 9751913..423a6ec 100644 --- a/block-01/week-01-the_web_under_the_hood/demo/tsconfig.json +++ b/block-01/week-01-the_web_under_the_hood/demo/tsconfig.json @@ -1,22 +1,20 @@ { "compilerOptions": { "target": "es2023", - "module": "NodeNext", + "module": "esnext", "lib": [ - "ES2023" + "ES2023", + "DOM" ], "types": [ - "node", "vite/client" ], "skipLibCheck": true, - /* Server + Vite middleware specific */ - "moduleResolution": "NodeNext", - "esModuleInterop": true, - "resolveJsonModule": true, - "allowJs": true, + /* Bundler mode */ + "moduleResolution": "bundler", "allowImportingTsExtensions": true, - /* Keep TS as a type checker only (no emit) when running via ts-node/vite) */ + "verbatimModuleSyntax": true, + "moduleDetection": "force", "noEmit": true, /* Linting */ "noUnusedLocals": true, @@ -25,7 +23,6 @@ "noFallthroughCasesInSwitch": true }, "include": [ - "src", - "server" + "src" ] } \ No newline at end of file