Skip to content

Commit

Permalink
fix(nodejs): fixed building to ES2018 to support Nodejs 10
Browse files Browse the repository at this point in the history
  • Loading branch information
grantila committed Feb 25, 2021
1 parent 6a9a010 commit 33aeeea
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": "https://github.com/grantila/oppa/issues"
},
"homepage": "https://github.com/grantila/oppa#readme",
"engines": {
"node": ">=10"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"noEmit": false,
"sourceMap": false,
"module": "CommonJS",
"target": "esnext"
"target": "ES2018"
},
"exclude": [
"**/*.spec.ts"
Expand Down

0 comments on commit 33aeeea

Please sign in to comment.