diff --git a/apps/client/tsconfig.json b/apps/client/tsconfig.json index ef2aaad..7dc2cb0 100644 --- a/apps/client/tsconfig.json +++ b/apps/client/tsconfig.json @@ -5,6 +5,10 @@ "types": ["vite/client", "react", "react-dom"], "jsx": "react-jsx", "jsxImportSource": "react", + // Vite is the bundler; TS only typechecks. Without noEmit an accidental + // `tsc` drops .js shadows next to .ts source and Vite resolves the wrong + // file (history: stale graphql.js, CVViewPage.js, AppRouter.js). + "noEmit": true, "paths": { "@/*": ["./src/*"], "@cv/utils": ["../../packages/utils"]