diff --git a/package.json b/package.json index c029702..3247bf7 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,11 @@ "module": "./dist/esm/index.mjs", "types": "./dist/types/index.d.ts", "exports": { - "require": "./dist/cjs/index.js", - "import": "./dist/esm/index.mjs" + ".": { + "import": "./dist/esm/index.js", + "require": "./dist/cjs/index.js", + "types": "./dist/types/index.d.ts" + } }, "files": [ "dist" diff --git a/tsconfig.json b/tsconfig.json index a731e95..40b4782 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "declaration": true, "declarationDir": "./dist/types", "strict": true, - "esModuleInterop": true, + // "esModuleInterop": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "moduleResolution": "node",