# Output Format Configure the module format(s) for generated bundles. ## Overview tsdown can generate bundles in multiple formats. Default is ESM. ## Available Formats | Format | Description | Use Case | |--------|-------------|----------| | `esm` | ECMAScript Module (default) | Modern Node.js, browsers, Deno | | `cjs` | CommonJS | Legacy Node.js, require() | | `iife` | Immediately Invoked Function Expression | Browser `