diff --git a/package.json b/package.json index 82341a5..952b273 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,16 @@ "main": "./lib/index.cjs", "types": "./build/src/index.d.ts", "exports": { - "import": "./lib/index.esm.js", - "require": "./lib/index.cjs" + ".": { + "import": { + "types": "./build/src/index.d.ts", + "default": "./lib/index.esm.js" + }, + "require": { + "types": "./build/src/index.d.ts", + "default": "./lib/index.cjs" + } + } }, "repository": { "type": "git",