Skip to content

Formateadores y código

Generador de Configuración esbuild / Rollup

Pick a bundler, get a working starter config.

Runs in your browser
build.mjs
lines: 13chars: 212size: 212 B
live

Nota del editor

Understanding · Speed vs sophistication, mostly.

Este capítulo en profundidad está disponible solo en inglés por el momento. La herramienta de conversión de arriba funciona en tu idioma; el artículo explicativo extenso aún no se ha traducido.

Preguntas frecuentes

Quick answers.

Should I choose esbuild or Rollup?

Use esbuild for speed and simpler modern workflows. Choose Rollup if you need advanced features like tree-shaking for libraries or complex plugin ecosystems.

What output formats are supported?

The generator supports CommonJS (`cjs`) for Node.js, ESM (`esm`) for modern browsers, and UMD (`umd`) for general compatibility.

Does this tool install the packages for me?

No, it generates the configuration file text. You must still run `npm install` or `yarn add` for the relevant bundler and its plugins.

Are my project details sent to a server?

No. The configuration logic runs entirely in your browser. Your file paths and project settings remain private to your local device.

La gente también busca

Herramientas relacionadas

More in this room.

Ver todo en Formateadores y código