Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
feat!: compile to es2018
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop support for node<10
  • Loading branch information
s-r-x committed Jan 10, 2022
1 parent 83a76f1 commit ac96e15
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/root/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"author": "Ilya Strus <[email protected]>",
"license": "MIT",
"types": "dist/index.d.ts",
"engines": {
"node": ">=10"
},
"scripts": {
"build": "npm run clean && npm run compile",
"clean": "rm -rf ./dist",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"declaration": true,
"strictNullChecks": true,
"esModuleInterop": true,
"target": "es6",
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"declaration": false,
"strictNullChecks": true,
"esModuleInterop": true,
"target": "es6",
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
Expand Down

0 comments on commit ac96e15

Please sign in to comment.