diff --git a/tsup.config.ts b/tsup.config.ts new file mode 100644 index 0000000..3f202c0 --- /dev/null +++ b/tsup.config.ts @@ -0,0 +1,13 @@ +import { defineConfig } from 'tsup'; + +export default defineConfig({ + entry: ['src/index.ts'], + format: 'cjs', + dts: true, + clean: true, + // Bundle jiti into the output so it works without node_modules + noExternal: ['jiti'], + // Ensure all dependencies are resolved + platform: 'node', + target: 'node22', +});