From 7919c9252b1c813f419b9b3803a67eaa5c16819f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Fri, 14 Jun 2024 09:47:35 +0200 Subject: [PATCH] build: Change build to es2020 --- tsconfig.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 94e65bb..bd9cc74 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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",