@rrlab/tsdown-plugin
v1.1.0
Published
tsdown plugin for @rrlab/cli — provides the pack capability for building TS libraries.
Readme
@rrlab/tsdown-plugin
tsdown plugin for @rrlab/cli. Provides the pack capability for packaging TypeScript libraries for distribution.
Install
rr plugins add tsdownInstalls @rrlab/tsdown-plugin and adds tsdown as a devDependency. No config file is scaffolded — tsdown reads tsdown.config.ts if present, otherwise uses sensible defaults. Add your own when you need to customise.
What it provides
| Capability | Surface |
|---|---|
| pack | rr pack, rr pack doctor |
rr pack builds your library: emits ESM JavaScript + .d.ts declarations to dist/ so consumers can import from the published package.
Removal
rr plugins remove tsdownRemoves tsdown from package.json and drops the tsdown() entry from run-run.config.{ts,mts}. tsdown.config.ts — if you have one — is left alone.
