Skip to content

Commit

Permalink
chore: Update target to ES2019 (#95)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Anyone relying on ES6 being the target when transpiling, will need to adjust their settings when consuming this package.
  • Loading branch information
runeh authored May 29, 2021
1 parent d656f09 commit a647c07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "git+https://github.com/cobraz/generate-runtypes.git"
},
"license": "Apache-2.0",
"engines": {
"node": ">=12"
},
"scripts": {
"dev": "tsnd --respawn src/main.ts",
"lint": "eslint . --ext .ts,.tsx",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"importHelpers": true,
"removeComments": true,
"noLib": false,
"target": "es6",
"target": "ES2019",
"sourceMap": false,
"outDir": "./dist",
"rootDir": "./src"
Expand Down

0 comments on commit a647c07

Please sign in to comment.