Skip to content

Commit

Permalink
Generate ES2015 code
Browse files Browse the repository at this point in the history
This is inline with the the Node.js 6 requirement. The code is smaller but more importantly, it removes the need to reference tslib
  • Loading branch information
realityking committed Apr 8, 2021
1 parent e8b4f77 commit d5e472c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
},
"main": "./dist/trace-event.js",
"typings": "./dist/trace-event.d.ts",
"dependencies": {
"tslib": "^2.2.0"
},
"dependencies": {},
"devDependencies": {
"@types/node": "*",
"prettier": "^1.12.1",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"compilerOptions": {
"target": "es5",
"target": "es2015",
"module": "commonjs",
"lib": [
"es2015"
],
"declaration": true,
"sourceMap": false,
"outDir": "./dist",
"importHelpers": true,
"importHelpers": false,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
Expand Down

0 comments on commit d5e472c

Please sign in to comment.