-
-
Notifications
You must be signed in to change notification settings - Fork 162
Comparing changes
Open a pull request
base repository: rolldown/tsdown
base: v0.21.0
head repository: rolldown/tsdown
compare: v0.21.1
- 18 commits
- 80 files changed
- 5 contributors
Commits on Mar 5, 2026
-
fix(css): handle virtual module IDs from framework plugins
Move CSS processing from `load` to `transform` hook so framework plugins (e.g. Vue SFC) can load virtual modules first. This prevents ENOENT errors when the CSS plugin tried to read virtual paths like `MyButton.vue?vue&type=style&index=0&lang.css` from disk. closes #800
Configuration menu - View commit details
-
Copy full SHA for c421fa5 - Browse repository at this point
Copy the full SHA c421fa5View commit details
Commits on Mar 6, 2026
-
chore(deps): update all non-major dependencies (#803)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bf9f2e3 - Browse repository at this point
Copy the full SHA bf9f2e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 848a7b7 - Browse repository at this point
Copy the full SHA 848a7b7View commit details
Commits on Mar 7, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 42b562f - Browse repository at this point
Copy the full SHA 42b562fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f915b43 - Browse repository at this point
Copy the full SHA f915b43View commit details -
fix(css): ignore css imports with URL query (#806)
Co-authored-by: Kevin Deng <sxzz@sxzz.moe>
Configuration menu - View commit details
-
Copy full SHA for c1d23a9 - Browse repository at this point
Copy the full SHA c1d23a9View commit details -
feat(css): add
css.injectoption to preserve CSS imports in JS outp……ut (#808) * feat(css): add `css.inject` option to preserve CSS imports in JS output When enabled, JS output retains `import './style.css'` statements pointing to emitted CSS files so consumers automatically load the CSS. - Add `css.inject` option to `CssOptions` (requires `@tsdown/css`) - Support deprecated `injectStyle` top-level option for tsup migration - Refactor `createCssPostHooks` into standalone `CssPostPlugin` - Return `Plugin[]` from both `CssPlugin` functions - Fix CSS asset hash resolution for async/split chunks - Add migration transform: `injectStyle: true` → `css: { inject: true }` Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(css): preserve JS sourcemap when injecting CSS imports Prepend a `;` to sourcemap mappings for each injected CSS import line, keeping the JS sourcemap accurate after code modification. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(css): rewrite pure CSS chunk imports in-place for correct order and sourcemap Instead of removing pure CSS chunk imports and prepending CSS imports (which reverses order and breaks sourcemap), swap the file extension in-place (.mjs/.cjs/.js → .css). This preserves both CSS cascade order and sourcemap line positions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(css): handle empty CSS wrapper chunks and dynamic entry injection - Add relaxed detection in removePureCssChunks for wrapper chunks (JS files that only import CSS) while preserving entry/dynamic entry chunks - Exclude isEntry and isDynamicEntry from pureCssChunks in inject plugin so dynamic entries get CSS imports prepended correctly - Add test for shared CSS-only chunk import rewriting * [autofix.ci] apply automated fixes * refactor --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ad74582 - Browse repository at this point
Copy the full SHA ad74582View commit details -
feat(css)!: move all CSS support to
@tsdown/csspackage (#809)Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1b1a172 - Browse repository at this point
Copy the full SHA 1b1a172View commit details -
feat(css): support
?inlinequery for CSS imports (#810)Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b737941 - Browse repository at this point
Copy the full SHA b737941View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e3fa9c - Browse repository at this point
Copy the full SHA 8e3fa9cView commit details -
docs: comprehensive documentation review and update
- Fix `greet`/`hello` inconsistency in cjs-default examples (EN + ZH) - Add missing `css.inject` option documentation (EN + ZH) - Add missing CLI options: `--workspace`, `--filter`, `--unbundle`, `--fail-on-warn`, `--attw` (EN + ZH) - Standardize deprecated flag formatting with `::: warning` admonitions - Expand FAQ with 4 new entries (EN + ZH) - Add practical hook usage examples (EN + ZH) - Standardize Chinese quotation marks to 「」 - Fix Chinese translation fluency issues - Refresh skills: update GENERATION.md, SKILL.md, README.md - Add 5 new skill reference files (solid, svelte, introduction, faq, benchmark) - Update CLI and CSS skill references with new options
Configuration menu - View commit details
-
Copy full SHA for 73d7d0f - Browse repository at this point
Copy the full SHA 73d7d0fView commit details
Commits on Mar 9, 2026
-
chore(deps): update all non-major dependencies (#805)
* chore(deps): update all non-major dependencies * [autofix.ci] apply automated fixes --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 26bd50d - Browse repository at this point
Copy the full SHA 26bd50dView commit details -
docs: remove FAQ additions and simplify hooks examples
- Revert faq.md to original (EN + ZH) - Remove concrete code from hooks examples, keep descriptions only - Remove guide-faq.md skill reference - Update file counts in skills metadata
Configuration menu - View commit details
-
Copy full SHA for 05dabf4 - Browse repository at this point
Copy the full SHA 05dabf4View commit details -
feat(css): support
node_modulespackage resolution (#812)Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for b06b421 - Browse repository at this point
Copy the full SHA b06b421View commit details -
chore(deps): update all non-major dependencies (#813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7aa0d7d - Browse repository at this point
Copy the full SHA 7aa0d7dView commit details -
chore(deps): update dependency vite to ^8.0.0-beta.18 (#814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 34b7326 - Browse repository at this point
Copy the full SHA 34b7326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38ca9c1 - Browse repository at this point
Copy the full SHA 38ca9c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b1be7e - Browse repository at this point
Copy the full SHA 2b1be7eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.21.0...v0.21.1