diff --git a/package.json b/package.json index a4e3d50..8abb044 100644 --- a/package.json +++ b/package.json @@ -31,10 +31,6 @@ "import": { "node": "./dist/index.js", "default": "./dist/index.js" - }, - "require": { - "node": "./dist/index.cjs", - "default": "./dist/index.cjs" } } }, diff --git a/tsup.config.ts b/tsup.config.ts index a90cf34..25564ef 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -15,7 +15,7 @@ export default defineConfig({ "safari17", "node20", ], - format: ["esm", "cjs"], + format: ["esm"], skipNodeModulesBundle: true, external: ["node_modules"], });