diff --git a/package.json b/package.json index c91974f4..2c625911 100644 --- a/package.json +++ b/package.json @@ -4,14 +4,14 @@ "description": "Sapphire's piece loader.", "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", - "types": "dist/cjs/index.d.ts", + "types": "dist/cjs/index.d.cts", "exports": { "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" }, "require": { - "types": "./dist/cjs/index.d.ts", + "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" } }, @@ -26,7 +26,7 @@ "test": "vitest run", "build": "tsup && concurrently \"yarn:postbuild:*\"", "postbuild:internal": "node scripts/make-import.mjs", - "postbuild:types:cjs": "rollup-type-bundler -d dist/cjs", + "postbuild:types:cjs": "rollup-type-bundler -d dist/cjs -ot .cts", "postbuild:types:esm": "rollup-type-bundler -d dist/esm -t .mts", "typecheck": "tsc -b src", "bump": "cliff-jumper",