esbuild

网站信息
站名esbuild
网址esbuild.github.io
地区国外
语言英语
收录2026-11-10
网站简介

esbuild is a bundler and minifier for JavaScript and TypeScript, written in Go and distributed as a native binary with no dependency tree to install. It parses, transforms and joins modules, strips unused code, converts JSX and modern syntax to older targets, and emits source maps, all inside a single process that parallelises work across CPU cores. Its main design goal is to make builds fast enough to run on every save.

The command line interface covers common tasks, while a JavaScript API and a Go API support programmatic builds, watch mode, incremental rebuilds and a development server. A plugin system lets build tools resolve custom file types, inject virtual modules or post-process output. Format options cover IIFE, CommonJS and ES modules, and platform targets distinguish browser, node and neutral environments.

It suits library authors who need quick production bundles, framework and tooling maintainers who embed a fast transformer, and teams running large test or preview pipelines where build latency dominates the feedback loop. Vite and many other development tools use esbuild for dependency pre-bundling and TypeScript or JSX transformation during development, which is why most developers encounter it indirectly rather than invoking it themselves.

Compared with webpack or Rollup, esbuild is dramatically faster but deliberately narrower: it does not aim to provide a rich plugin ecosystem for every asset type or advanced chunk-splitting strategies, and some output optimisations are less aggressive. Compared with a plain TypeScript compiler invocation, it handles bundling and minification in one step. For final production output of complex applications, it is often paired with a fuller bundler.

Because esbuild targets a specific JavaScript syntax level, teams should verify the configured target against their supported browsers rather than assuming older syntax is handled automatically. Tree shaking works best on ES modules, so CommonJS-heavy dependencies may not shrink as expected. Plugin behaviour and API stability are versioned, so pinning the binary and reading release notes before upgrading avoids surprises in continuous integration.

相关查询
收录 - 百度 - 搜狗 - 360 - 必应 - 谷歌
搜索 - 百度 - 搜狗 - 360 - 必应 - 谷歌
最新收录
阜新市人民政府
白银市人民政府
广州图书馆
长江网
半岛网
四川省教育考试院
北京教育考试院
中国科学院紫金山天文台
米内网
实用网站
飞翔下载
开心电玩
多多软件站
酷站导航
篱笆好文学
‌中国扫黄打非网‌
Convertio
东莞市冠骄机械有限公司
搜了网
随机推荐
爱康企业集团(浙江)有限公司
美食天下
Linear
中国建筑材料联合会
天翼云盘
Zod
Prettier
Mtime时光网
天山网
特别提示
本网页并非esbuild官网,页面内容是由酷站导航编录于互联网,只作展示之用;酷站导航与esbuild无任何关系;如果有与之相关业务事宜,请访问esbuild网站获取联系方式。
本页地址
https://m.torv.cn/1848.html

407106872@qq.com

Copyright © 2026 Torv.cn All Rights Reserved.