格式化与代码
esbuild / Rollup 配置生成器
Pick a bundler, get a working starter config.
Runs in your browser
build.mjs
lines: 13chars: 212size: 212 B
live
编辑注
Understanding · Speed vs sophistication, mostly.
本深度章节目前仅有英文版本。上方的转换工具支持您的语言;长篇说明文章尚未翻译。
常见问题
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.
大家也在搜索
相关工具
More in this room.
- Docker Compose 生成器根据服务列表生成 Compose 文件。
- Kubernetes Deployment + Service一个文件中的 K8s Deployment + Service manifest。
- GitHub Actions 工作流在几秒钟内为 Node、Python 或 Go 生成 CI 工作流。
- GitLab CI 流水线多阶段 .gitlab-ci.yml — 构建 / 测试 / 部署。
- Terraform 模块存根variables.tf + main.tf + outputs.tf 支架。
- Dockerfile 最佳实践生成器多阶段 Dockerfile + .dockerignore — Node、Python、Go。