diff --git a/tsconfig.json b/tsconfig.json index 7c97bf24..e4872681 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,11 @@ { "compilerOptions": { "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "strict": false, @@ -13,19 +17,41 @@ "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "baseUrl": ".", "paths": { - "@components/*": ["components/*"], - "@lib/*": ["lib/*"], - "@utils/*": ["utils/*"], - "@configs/*": ["configs/*"], - "@middlewares/*": ["middlewares/*"], - "@hooks/*": ["hooks/*"], - "@pages/*": ["pages/*"], - "@plugins/*": ["plugins/*"] - } + "@components/*": [ + "components/*" + ], + "@lib/*": [ + "lib/*" + ], + "@utils/*": [ + "utils/*" + ], + "@configs/*": [ + "configs/*" + ], + "@middlewares/*": [ + "middlewares/*" + ], + "@hooks/*": [ + "hooks/*" + ], + "@pages/*": [ + "pages/*" + ], + "@plugins/*": [ + "plugins/*" + ] + }, + "incremental": true }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] }