Skip to content

Formattatori e Codice

Generatore di Configurazione esbuild / Rollup

Pick a bundler, get a working starter config.

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

Nota dell'editore

Understanding · Speed vs sophistication, mostly.

Questo capitolo approfondito è attualmente disponibile solo in inglese. Lo strumento di conversione qui sopra funziona nella tua lingua; il lungo articolo esplicativo non è stato ancora tradotto.

Domande frequenti

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.

Le persone cercano anche

Strumenti correlati

More in this room.

Vedi tutto in Formattatori e Codice