diff --git a/apps/frontend/tsconfig.json b/apps/frontend/tsconfig.json index 454b257..ba19dc3 100644 --- a/apps/frontend/tsconfig.json +++ b/apps/frontend/tsconfig.json @@ -1,46 +1,28 @@ { "compilerOptions": { - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["DOM", "DOM.Iterable", "ES2022"], + "isolatedModules": true, + "esModuleInterop": true, + "jsx": "react-jsx", + "module": "ESNext", + "moduleResolution": "Bundler", + "resolveJsonModule": true, + "target": "ES2022", + "strict": true, "allowJs": true, "skipLibCheck": true, - "strict": true, - "noEmit": true, - "esModuleInterop": true, - "module": "esnext", - "moduleResolution": "NodeNext", - "resolveJsonModule": true, - "isolatedModules": true, - "moduleDetection": "force", - "jsx": "preserve", - "incremental": true, - "declaration": true, - "declarationMap": true, + "forceConsistentCasingInFileNames": true, "plugins": [ { "name": "next" } ], + "outDir": "dist", + "baseUrl": ".", "paths": { - "@/*": [ - "./src/*" - ] - }, - "target": "ES2022", - "rootDir": "./src/", - "outDir": "./out/" + "@/*": ["./src/*"] + } }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - "tailwind.config.ts" - ], - "exclude": [ - "node_modules" - ] + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "tailwind.config.ts"], + "exclude": ["node_modules"] } diff --git a/apps/frontend/turbo.json b/apps/frontend/turbo.json new file mode 100644 index 0000000..ff1fc3a --- /dev/null +++ b/apps/frontend/turbo.json @@ -0,0 +1,8 @@ +{ + "extends": ["//"], + "tasks": { + "build": { + "outputs": [".next/**", "!.next/cache/**"] + } + } +}