Skip to content

Commit 4ea675a

Browse files
committed
fix: publish as ES2020
1 parent f79234d commit 4ea675a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: build-utils/grunt-config/browserify.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
options: {
33
plugin: [['tsify', {
4-
'target': 'es2020'
4+
'target': 'ES2020'
55
}]],
66
banner: "<%= banner %>",
77
browserifyOptions: {

Diff for: build-utils/grunt-config/run.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ module.exports = {
1010
args: `run tsc -- src/ts/main.ts src/ts/file-reader.ts
1111
--noEmit false
1212
--outDir ./build/npm/lib/
13-
--module es6
14-
--target es6
13+
--module es2020
14+
--target es2020
1515
--rootDir src/ts/
1616
--declaration true
1717
--declarationDir ./build/npm/types

0 commit comments

Comments
 (0)