Skip to content

Commit 918fc4a

Browse files
authored
chore: change target to es2015 (#260)
Signed-off-by: Todd Baert <[email protected]>
1 parent d7e332a commit 918fc4a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ const value = await client.getBooleanValue('enabled-new-feature', false);
3838

3939
## Development
4040

41+
### System Requirements
42+
43+
node 16+, npm 8+ are recommended.
44+
45+
### Compilation target(s)
46+
47+
We target `es2015`, and publish both ES-modules and CommonJS modules.
48+
4149
### Installation and Dependencies
4250

4351
Install dependencies with `npm ci`. `npm install` will update the package-lock.json with the most recent compatible versions.

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
1212

1313
/* Language and Environment */
14-
"target": "ES2020", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
14+
"target": "ES2015", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
1515
"lib": ["ES2020"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
1616
// "jsx": "preserve", /* Specify what JSX code is generated. */
1717
// "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */

0 commit comments

Comments
 (0)