diff --git a/package.json b/package.json index 88f92c0..d738039 100644 --- a/package.json +++ b/package.json @@ -19,12 +19,18 @@ "url": "git+https://github.com/0x80/get-or-throw.git" }, "type": "module", - "main": "dist/index.cjs", - "types": "dist/index.d.ts", + "main": "./dist/index.cjs", + "types": "./dist/index.d.cts", "exports": { ".": { - "import": "./dist/index.js", - "require": "./dist/index.cjs" + "import": { + "types": "./dist/index.d.mts", + "default": "./dist/index.mjs" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } } }, "publishConfig": {