Skip to content

Commit

Permalink
build: 📦️ target ES6
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Mar 5, 2020
1 parent 9bb6076 commit be109e4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
"importHelpers": true, // Use tslib instead of adding helpers to every emitted js file
"module": "CommonJS", // Should be CommonJS for NodeJS apps
"strict": true,
"target": "ES2019", // any node version after 2016 is supported
"target": "ES6", // any node version after 2016 is supported
"moduleResolution": "node", // should be node
"resolveJsonModule": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"outDir": "./build",
"sourceMap": true,
"plugins": []
"sourceMap": true
},
"exclude": ["node_modules", "lib"]
}

0 comments on commit be109e4

Please sign in to comment.