tsdown Config
@theholocron/tsdown-config exports tsdown configuration presets that build TypeScript source to dual ESM/CJS bundles with type declarations.
Install
Section titled “Install”pnpm add -D @theholocron/tsdown-config tsdownPresets
Section titled “Presets”library
Section titled “library”For npm packages that ship a dist/. Emits .mjs and .d.mts outputs from src/index.ts.
export { default } from "@theholocron/tsdown-config/presets/library";