Skip to content

Commit

Permalink
bump module for nextjs apps to es2022
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Jan 9, 2024
1 parent 4e8877d commit 40f760d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/configs/tsconfig.nextjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
"extends": "./tsconfig.base.json",
"compilerOptions": {
// conservative settings, should we upgrade these?
"module": "es2020",
"module": "es2022",
"target": "es2021",
"moduleResolution": "bundler",
"lib": ["dom", "dom.iterable", "esnext"],
"noEmit": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"allowJs": true, // enforced by Next.js
"allowJs": true // enforced by Next.js
},
// otherwise `next dev` would enforce it
"exclude": ["node_modules"]
}
}

0 comments on commit 40f760d

Please sign in to comment.