diff --git a/build.config.ts b/build.config.ts index 0bd008c..fe73ea0 100644 --- a/build.config.ts +++ b/build.config.ts @@ -6,7 +6,4 @@ export default defineBuildConfig({ ], declaration: true, clean: true, - rollup: { - emitCJS: true, - }, }) diff --git a/package.json b/package.json index 0c9d8db..2fefbdc 100644 --- a/package.json +++ b/package.json @@ -20,14 +20,13 @@ "sideEffects": false, "exports": { ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs" + "types": "./dist/index.d.mts", + "default": "./dist/index.mjs" } }, "main": "./dist/index.mjs", "module": "./dist/index.mjs", - "types": "./dist/index.d.ts", + "types": "./dist/index.d.mts", "typesVersions": { "*": { "*": [