diff --git a/package.json b/package.json index bee91ba354..05912b79f1 100644 --- a/package.json +++ b/package.json @@ -21,13 +21,18 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", "import": { "types": "./esm/index.d.mts", "default": "./esm/index.mjs" }, - "module": "./esm/index.js", - "default": "./index.js" + "module": { + "types": "./index.d.ts", + "default": "./esm/index.js" + }, + "default": { + "types": "./index.d.ts", + "default": "./index.js" + } }, "./vanilla": { "types": "./vanilla.d.ts",