diff --git a/package.json b/package.json index 65fd25ec..6b0f6bba 100644 --- a/package.json +++ b/package.json @@ -47,21 +47,21 @@ "exports": { ".": { "import": { - "types": "./dist/types/index.d.mts", + "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { - "types": "./dist/types/index.d.cts", + "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./node": { "import": { - "types": "./dist/types/node.d.mts", + "types": "./dist/node.d.mts", "default": "./dist/node.mjs" }, "require": { - "types": "./dist/types/node.d.cts", + "types": "./dist/node.d.cts", "default": "./dist/node.cjs" } }, @@ -69,7 +69,7 @@ }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", - "types": "./dist/types/index.d.cts", + "types": "./dist/index.d.cts", "files": [ "dist" ], diff --git a/tsconfig.build.json b/tsconfig.build.json index 514d6fe8..0160af45 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -6,7 +6,7 @@ "emitDeclarationOnly": true, "inlineSources": true, "noEmit": false, - "outDir": "dist/types", + "outDir": "dist", "rootDir": "src", "sourceMap": true },