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 - 必应 - 谷歌
最新收录
Siemens
塔城地区行政公署
和田地区行政公署
钦州市人民政府
梧州市人民政府
蚌埠市人民政府
滁州市人民政府
朔州市人民政府
WIRED
实用网站
飞翔下载
多多软件站
开心电玩
酷站导航
篱笆好文学
‌中国扫黄打非网‌
搜了网
东坡下载
Convertio
随机推荐
理想国
ClickHouse
荣盛房地产发展股份有限公司
国家知识产权局
租租车
考研帮
敦煌研究院
百度站长平台
山西网络广播电视台
特别提示
本网页并非esbuild官网,页面内容是由酷站导航编录于互联网,只作展示之用;酷站导航与esbuild无任何关系;如果有与之相关业务事宜,请访问esbuild网站获取联系方式。
本页地址
https://m.torv.cn/sites/1848.html

407106872@qq.com

Copyright © 2026 Torv.cn All Rights Reserved.