Skip to content

Commit 5fb9e68

Browse files
committed
Use ES2015 instead of ESNext, still allowing class/import/export.
1 parent 9e4df79 commit 5fb9e68

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tsconfig.es5.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
4-
"target": "es5",
5-
"module": "es2015",
4+
"target": "ES5",
5+
"module": "ES2015",
66
"outDir": "lib/es5"
77
}
88
}

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
3-
"target": "ESNext",
4-
"module": "ESNext",
3+
"target": "ES2015",
4+
"module": "ES2015",
55
"moduleResolution": "node",
66
"rootDir": "./src",
77
"outDir": "./lib",

0 commit comments

Comments
 (0)