diff --git a/package.json b/package.json index 759ed056..9821aafc 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,13 @@ "node": "^12.20.0 || ^14.13.0 || >=16.0.0" }, "exports": { - "import": "./index.mjs", - "require": "./index.js", - "default": "./index.js", - "types": "./dist/src/index.d.ts" + ".": { + "import": "./index.mjs", + "require": "./index.js", + "default": "./index.js", + "types": "./dist/src/index.d.ts" + }, + "./package.json": "./package.json" }, "scripts": { "build": "tsc --build",