Skip to content

Commit

Permalink
fix: publish as ES2020
Browse files Browse the repository at this point in the history
  • Loading branch information
micmro committed Nov 12, 2022
1 parent f79234d commit 4ea675a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build-utils/grunt-config/browserify.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
options: {
plugin: [['tsify', {
'target': 'es2020'
'target': 'ES2020'
}]],
banner: "<%= banner %>",
browserifyOptions: {
Expand Down
4 changes: 2 additions & 2 deletions build-utils/grunt-config/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ module.exports = {
args: `run tsc -- src/ts/main.ts src/ts/file-reader.ts
--noEmit false
--outDir ./build/npm/lib/
--module es6
--target es6
--module es2020
--target es2020
--rootDir src/ts/
--declaration true
--declarationDir ./build/npm/types
Expand Down

0 comments on commit 4ea675a

Please sign in to comment.