diff --git a/packages/js/tsconfig.json b/packages/js/tsconfig.json index 5dacb9479f5..0e5d3b81e19 100644 --- a/packages/js/tsconfig.json +++ b/packages/js/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.json", "compilerOptions": { "strict": true, - "target": "ESNext", + "target": "ES6", "module": "ESNext", "lib": ["DOM", "DOM.Iterable", "ESNext"], "jsx": "preserve", diff --git a/packages/react/tsconfig.json b/packages/react/tsconfig.json index 28e97b3c03d..0987382684b 100644 --- a/packages/react/tsconfig.json +++ b/packages/react/tsconfig.json @@ -2,7 +2,7 @@ "include": ["src"], "compilerOptions": { "lib": ["dom", "dom.iterable", "esnext"], - "target": "ESNext", + "target": "ES6", "esModuleInterop": true, "module": "NodeNext", "isolatedModules": true,