Skip to content

Commit

Permalink
chore: update tsconfig from next.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kpfromer committed Nov 28, 2021
1 parent 1c06669 commit 7d7fc9a
Showing 1 changed file with 39 additions and 13 deletions.
52 changes: 39 additions & 13 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
Expand All @@ -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"
]
}

1 comment on commit 7d7fc9a

@vercel
Copy link

@vercel vercel bot commented on 7d7fc9a Nov 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.