Notes
rolldown-plugin-dts is now v0.29. tsdown passes dts options through to it unchanged, so its deprecations show up in your config too. Full details are in the rolldown-plugin-dts v0.29.0 release notes.
Migration
tsc-only dts options move under dts.tsc. The top-level build, incremental, parallel, eager, newContext and vue options still work but log a deprecation warning. Setting the same option at both levels throws an error. emitJs stays at the top level.
export default defineConfig({
dts: {
- vue: true,
+ tsc: { vue: true },
},
})tsgo (experimental, not covered by semver):
@typescript/native-previewis no longer supported. Install TypeScript 7.1+ (typescript@7.1.0-beta), or pointtsgo.moduleUrlat another build.- On TypeScript 7.1+,
tsgo.pathis the API server executable, not thetsgoCLI. You usually don't need to set it. - Declaration maps come only from
compilerOptions.declarationMap: truein tsconfig; thesourcemapoption no longer enables them. - TypeScript 7.0 still works with a deprecation warning, but that backend will be removed soon.
🚀 Features
- css: Support
css: falseto disable built-in CSS handling - by @sxzzbot in #1113 (181af) - dts: Upgrade rolldown-plugin-dts to v0.29, upgrade deps - by @sxzzbot in #1121 (e12ab)
🐞 Bug Fixes
- css: Remove dangling requires and handle CSS extensions in chunk names - by @sxzzbot in #1114 (c8ca3)
🏎 Performance
- deps: Read each package.json once when resolving dep subpaths - by @Cherry and @sxzzbot in #1093 (4435a)