diff --git a/packages/react-responsive/tsconfig.json b/packages/react-responsive/tsconfig.json index 422312d..6bbe453 100644 --- a/packages/react-responsive/tsconfig.json +++ b/packages/react-responsive/tsconfig.json @@ -18,7 +18,7 @@ "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, // "allowSyntheticDefaultImports": true, - "moduleResolution": "node", + "moduleResolution": "bundler", "rootDir": "./src" } } diff --git a/packages/tests/tsconfig.json b/packages/tests/tsconfig.json index 7320ec4..a6d19fd 100644 --- a/packages/tests/tsconfig.json +++ b/packages/tests/tsconfig.json @@ -9,7 +9,7 @@ "strict": true, "forceConsistentCasingInFileNames": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true,