diff --git a/packages/react-responsive/tsconfig.json b/packages/react-responsive/tsconfig.json index 6bbe453..2ccaaa9 100644 --- a/packages/react-responsive/tsconfig.json +++ b/packages/react-responsive/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "module": "esnext", "target": "es2019", + "moduleResolution": "bundler", "allowJs": false, "declaration": true, "jsx": "react", @@ -18,7 +19,6 @@ "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, // "allowSyntheticDefaultImports": true, - "moduleResolution": "bundler", "rootDir": "./src" } } diff --git a/packages/tests/tsconfig.json b/packages/tests/tsconfig.json index a6d19fd..fcf0d1b 100644 --- a/packages/tests/tsconfig.json +++ b/packages/tests/tsconfig.json @@ -1,6 +1,8 @@ { "compilerOptions": { - "target": "es5", + "module": "esnext", + "moduleResolution": "bundler", + "target": "esnext", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, @@ -8,8 +10,6 @@ "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, - "module": "esnext", - "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true,