fix: remove unneeded js banner that make the commonjs build unusable

This commit is contained in:
HerozDotExe 2026-05-28 18:09:27 +02:00
parent afda1a9d2a
commit a09bec73a6

View file

@ -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
});