Skip to content

Commit aa7e1d2

Browse files
committed
build: change target to es2021
1 parent 19d16f2 commit aa7e1d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"build": "rm -rf lib && tsc -p tsconfig.prod.json",
88
"test": "npm run build && ts-standardx && jest",
9-
"package": "ncc build --license licenses.txt",
9+
"package": "ncc build --license licenses.txt --target es2021",
1010
"all": "npm test && npm run package"
1111
},
1212
"repository": {

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"esModuleInterop": true,
1111
"forceConsistentCasingInFileNames": true,
1212

13-
"target": "es2019",
13+
"target": "es2021",
1414

1515
"skipLibCheck": true
1616
}

0 commit comments

Comments
 (0)