
tsdown, the elegant bundler for libraries powered by Rolldown
In this article, we review tsdown library. We will look at: What is tsdown? tsdown usage in cloudflare/agents. Press enter or click to view image in full size What is tsdown? tsdown is the elegant bundler for libraries powered by Rolldown . Fun fact: There is also tsup — The simplest and fastest way to bundle your TypeScript libraries. Features 🚀 Blazing fast: Build and generate declaration files powered by Oxc and Rolldown, incredibly fast! ♻️ Powerful ecosystem: Support Rollup, Rolldown, unplugin plugins, and some Vite plugins. ️🛠️ Easy to use: tsdown preconfigures everything you need to get started, so you can focus on writing code. 🔄 Seamless migration: Compatible with tsup’s main options and features, ensuring a smooth transition. Learn more about tsdown . tsdown usage in cloudflare/agents So I came across tsdown in the cloudflare/agents/scripts/build.ts and it is defined as shown below: import { execSync } from "node:child_process"; import { build } from "tsdown"; async function
Continue reading on Dev.to
Opens in a new tab


