From fb621a6d831cfdfd98f0d20d0056d982bbac04fd Mon Sep 17 00:00:00 2001 From: Artyom Safronov Date: Mon, 9 Dec 2024 16:34:36 +0400 Subject: [PATCH] AVSC-518 Error diagnostic on keycloak-js import --- templates/react-admin/tsconfig.json | 6 +++--- test-ra-app/tsconfig.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/react-admin/tsconfig.json b/templates/react-admin/tsconfig.json index 37a620d..ae4732a 100644 --- a/templates/react-admin/tsconfig.json +++ b/templates/react-admin/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { // Project options - "target": "es5", + "target": "ES2020", "lib": [ "dom", "dom.iterable", @@ -9,12 +9,12 @@ ], "allowJs": true, "skipLibCheck": true, - "module": "ES2020", + "module": "ESNext", "noEmit": true, "jsx": "react-jsx", // Module resolution - "moduleResolution": "node", + "moduleResolution": "bundler", "esModuleInterop": true, "allowSyntheticDefaultImports": true, "resolveJsonModule": true, diff --git a/test-ra-app/tsconfig.json b/test-ra-app/tsconfig.json index 37a620d..ae4732a 100644 --- a/test-ra-app/tsconfig.json +++ b/test-ra-app/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { // Project options - "target": "es5", + "target": "ES2020", "lib": [ "dom", "dom.iterable", @@ -9,12 +9,12 @@ ], "allowJs": true, "skipLibCheck": true, - "module": "ES2020", + "module": "ESNext", "noEmit": true, "jsx": "react-jsx", // Module resolution - "moduleResolution": "node", + "moduleResolution": "bundler", "esModuleInterop": true, "allowSyntheticDefaultImports": true, "resolveJsonModule": true,