tsdown v0.23.5

v0.23.5
Added 1
  • Support `css: false` to disable built-in CSS handling
Changed 6
Fixed 1
  • Remove dangling requires and handle CSS extensions in chunk names
Deprecated 1

5 changes to check, marked in the notes below

From tsdown

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. deprecated · vendor-flagged behavior changed · vendor-flagged

 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. removed · vendor-flagged
  • On TypeScript 7.1+, tsgo.path is the API server executable, not the tsgo CLI. You usually don't need to set it. behavior changed · vendor-flagged
  • Declaration maps come only from compilerOptions.declarationMap: true in tsconfig; the sourcemap option no longer enables them. behavior changed · vendor-flagged
  • TypeScript 7.0 still works with a deprecation warning, but that backend will be removed soon. deprecated · vendor-flagged

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub
View original

Upgraded? How did it go?

Discussion