Skip to content

Formateurs & Code

Générateur de configuration esbuild / Rollup

Pick a bundler, get a working starter config.

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

Note de la rédaction

Understanding · Speed vs sophistication, mostly.

Ce chapitre approfondi n'est actuellement disponible qu'en anglais. L'outil de conversion ci-dessus fonctionne dans votre langue ; le long article explicatif n'a pas encore été traduit.

Questions fréquentes

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.

Les internautes recherchent aussi

Outils similaires

More in this room.

Tout voir dans Formateurs & Code