npm tsdown 0.23.5
v0.23.5

3 hours ago

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-preview is no longer supported. Install TypeScript 7.1+ (typescript@7.1.0-beta), or point tsgo.moduleUrl at another build.
  • On TypeScript 7.1+, tsgo.path is the API server executable, not the tsgo CLI. You usually don't need to set it.
  • Declaration maps come only from compilerOptions.declarationMap: true in tsconfig; the sourcemap option no longer enables them.
  • TypeScript 7.0 still works with a deprecation warning, but that backend will be removed soon.

   🚀 Features

   🐞 Bug Fixes

  • css: Remove dangling requires and handle CSS extensions in chunk names  -  by @sxzzbot in #1114 (c8ca3)

   🏎 Performance

    View changes on GitHub

Don't miss a new tsdown release

NewReleases is sending notifications on new releases.