Skip to content

Commit

Permalink
build: have tsc emit Node 8-compatible JS
Browse files Browse the repository at this point in the history
This generates much less unnecessary code for the Node versions we're
targeting.

According to https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
ES2017 corresponds with Node 8.
  • Loading branch information
malept committed Feb 10, 2020
1 parent ba2119f commit ea4ba48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"target": "es2017",
"lib": [
"es2017"
],
Expand Down

0 comments on commit ea4ba48

Please sign in to comment.