build: Change build to es2020

This commit is contained in:
Jérémy Munsch 2024-06-14 09:47:35 +02:00
parent 8afa07eefc
commit 7919c9252b
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -4,9 +4,9 @@
"declaration": true /* Generates corresponding'.d.ts' files. */,
"declarationDir": "dist/typings" /* build '.d.ts' files to ./dist/typeings */,
"outDir": "dist/esm/" /* build to ./dist/esm/ */,
"target": "es2015" /* Build to ES2022 */,
"lib": ["es2015", "es2021", "es2022", "dom", "dom.iterable"] /* Using ES2022 features and DOM APIs */,
"module": "es2015" /* using es2020 modules */,
"target": "es2020" /* Build to es2020 */,
"lib": ["es2018", "es2021", "es2022", "dom", "dom.iterable"] /* Using ES2022 features and DOM APIs */,
"module": "es2020" /* using es2020 modules */,
"rootDir": "src",
"strict": true,
"jsx": "preserve",