Skip to content

Commit

Permalink
CNA: Set default TS target to ES2017
Browse files Browse the repository at this point in the history
Continuation of vercel#64508

This avoids needing to update a freshly created tsconfig.json when first
running the `dev` command.
  • Loading branch information
unstubbable committed Apr 20, 2024
1 parent 8452697 commit 8c175d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/create-next-app/templates/app-tw/ts/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
Expand Down
1 change: 1 addition & 0 deletions packages/create-next-app/templates/app/ts/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
Expand Down

0 comments on commit 8c175d1

Please sign in to comment.