From df0e1c6afd770eabaacbe11d1560b2b8fd419ddb Mon Sep 17 00:00:00 2001 From: Scott Rees <6165315+reesscot@users.noreply.github.com> Date: Tue, 24 May 2022 10:51:09 -0700 Subject: [PATCH] Fix create react app builds with es2018 target (#1872) --- tsconfig.esm.json | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig.esm.json b/tsconfig.esm.json index 108ba6b6..2bf8ce7e 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es2020", + "target": "es2018", "jsx": "react", "moduleResolution": "node", "module": "ES2020", diff --git a/tsconfig.json b/tsconfig.json index 760ab034..f9cfb81e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es2020", + "target": "es2018", "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true,