chore: target ES2021
Since we're now using Node.js >= 18, it is safe to target ES2021. With features like optional chaining, null coalescing (assignment), the compiler could emit shorter code, leading to smaller package size.
This commit is contained in:
parent
3b3478decb
commit
3f8c23d917
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2019",
|
||||
"target": "ES2021",
|
||||
"outDir": "out",
|
||||
"esModuleInterop": true,
|
||||
"strictNullChecks": true,
|
||||
|
|
Loading…
Reference in New Issue