From a09bec73a6c5dc5c1e00455b26c8d2c2be938891 Mon Sep 17 00:00:00 2001 From: HerozDotExe Date: Thu, 28 May 2026 18:09:27 +0200 Subject: [PATCH] fix: remove unneeded js banner that make the commonjs build unusable --- tsup.config.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tsup.config.js b/tsup.config.js index 515664b..19ae0b2 100644 --- a/tsup.config.js +++ b/tsup.config.js @@ -4,8 +4,5 @@ export default defineConfig({ entry: ["src/index.ts"], target: "node22", format: ["cjs", "esm"], - dts: true, - banner: { - js: "import { createRequire } from 'module'; const require = createRequire(import.meta.url);", - }, + dts: true });