Skip to content

Commit 00c7e38

Browse files
committed
Set ES version in tsconfig.json to ESNEXT (Browser compatibility is handled by webpack)
1 parent 1beb9d5 commit 00c7e38

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/flat-starfishes-melt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tksst/next-app-additions": minor
3+
---
4+
5+
Set ECMAScript version in tsconfig.json to ESNEXT. (Browser compatibility is handled by webpack)

src/bin/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const main = async (): Promise<void> => {
133133
throw new Error("tsconfig.json is in an unexpected format.");
134134
}
135135

136-
x.target = "ES2015";
136+
x.target = "esnext";
137137
x.noImplicitOverride = true;
138138
x.noImplicitReturns = true;
139139
x.noUncheckedIndexedAccess = true;

0 commit comments

Comments
 (0)