diff --git a/package.json b/package.json index da3e94c5..ec3b1e23 100644 --- a/package.json +++ b/package.json @@ -18,13 +18,18 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "module": { + "types": "./index.d.ts", + "default": "./esm/index.js" + }, "import": { "types": "./esm/index.d.mts", "default": "./esm/index.mjs" }, - "module": "./esm/index.js", - "default": "./index.js" + "default": { + "types": "./index.d.ts", + "default": "./index.js" + } }, "./*": { "types": "./*.d.ts",