Skip to content

Commit

Permalink
chore(tsconfig): update "target" to "es2021"
Browse files Browse the repository at this point in the history
this will improve code-output to be on the level of nodejs-16, which will make debugging easier

BREAKING CHANGE:
potentially breaking change upgrading "target" to "es2021" in tsconfig
  • Loading branch information
hasezoey committed Jun 5, 2024
1 parent c8a008a commit abde8ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/guides/migration/migrate10.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The default binary version has been upgraded from `5.0.x` to `6.0.x`. For more s

## Non-Breaking changes / Additions

<!-- ### Compiler target is now `es2019`
### Compiler target is now `es2021`

The tsconfig `target` option has been updated to `es2019`, which will result in less polyfills.
This should be a non-breaking change -->
The tsconfig `target` option has been updated to `es2021`, which will result in less polyfills.
This should be a non-breaking change.
2 changes: 1 addition & 1 deletion packages/mongodb-memory-server-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"rootDir": "./src",
"outDir": "./build",
"noEmit": false,
"target": "es2020",
"target": "es2021",
"module": "commonjs",
"sourceMap": true,
"declaration": true,
Expand Down

0 comments on commit abde8ca

Please sign in to comment.