Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rolldown/tsdown
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.21.8
Choose a base ref
...
head repository: rolldown/tsdown
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.21.9
Choose a head ref
  • 9 commits
  • 33 files changed
  • 3 contributors

Commits on Apr 14, 2026

  1. feat(exports): add bin to publishConfig when devExports is enabled (#911

    )
    
    Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
    sxzz and autofix-ci[bot] authored Apr 14, 2026
    Configuration menu
    Copy the full SHA
    60592ef View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2026

  1. Configuration menu
    Copy the full SHA
    d8e1c1f View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2026

  1. chore: upgrade deps

    sxzz committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    abe87e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6021f5 View commit details
    Browse the repository at this point in the history
  3. feat(plugin): add tsdownConfig and tsdownConfigResolved plugin ho…

    …oks (#918)
    
    * feat(plugin): add `tsdownConfig` and `tsdownConfigResolved` plugin hooks
    
    Introduce two tsdown-specific per-plugin lifecycle hooks modeled on Vite's
    `config` and `configResolved`:
    
    - `tsdownConfig(config, env)` — called before the user config is resolved.
      May mutate in place or return a partial `UserConfig` to be deep-merged.
    - `tsdownConfigResolved(resolvedConfig)` — read-only notification fired once
      per produced `ResolvedConfig` (per output format).
    
    Both hooks are detected on user plugins via duck-typing, so existing
    Rolldown plugins continue to work unchanged. A `TsdownPlugin` interface,
    `TsdownConfigEnv` interface, and `flattenPlugins` helper are exported
    from `tsdown/plugins`.
    
    * refactor
    
    * refactor(plugin): simplify `TsdownConfigEnv` to only `inlineConfig`
    
    `watch` and `cwd` are already reachable via the first `config` argument
    passed to `tsdownConfig`, so keeping them in env duplicates data and risks
    going stale. Drop both — `inlineConfig` remains because it is the only
    piece of context that cannot be derived from `UserConfig`.
    
    * refactor(plugin): replace `TsdownConfigEnv` with `InlineConfig`
    
    The env object only wrapped a single `inlineConfig` field, so pass the
    `InlineConfig` directly as the second argument instead. Drops the
    `TsdownConfigEnv` interface and its re-exports.
    
    * feat(plugin): add `TsdownPluginOption` type
    
    Mirrors Rolldown's `RolldownPluginOption` but with `TsdownPlugin` as the
    atom, so that `UserConfig.plugins` entries get proper type-checking for
    the new `tsdownConfig` / `tsdownConfigResolved` hooks.
    
    * fix
    
    * update
    
    * refactor
    sxzz authored Apr 16, 2026
    Configuration menu
    Copy the full SHA
    665e5ac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    38afd8f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    16e2795 View commit details
    Browse the repository at this point in the history
  6. feat: upgrade rolldown

    sxzz committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    2d74e05 View commit details
    Browse the repository at this point in the history
  7. chore: release v0.21.9

    sxzz committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    752c3e5 View commit details
    Browse the repository at this point in the history
Loading