Skip to content

Commit ebde21b

Browse files
committed
CNA: Set default TS target to ES2017
Continuation of #64508 This avoids needing to update a freshly created tsconfig.json when first running the `dev` command.
1 parent b67674a commit ebde21b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/create-next-app/templates/app-tw/ts/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"target": "ES2017",
34
"lib": ["dom", "dom.iterable", "esnext"],
45
"allowJs": true,
56
"skipLibCheck": true,

packages/create-next-app/templates/app/ts/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"target": "ES2017",
34
"lib": ["dom", "dom.iterable", "esnext"],
45
"allowJs": true,
56
"skipLibCheck": true,

0 commit comments

Comments
 (0)