evanw/esbuild
View on GitHub ↗ ★ 40,120 Go
An extremely fast bundler for the web
78 mentions on Hacker News by 66 people: 10 stories, 68 comments · first 2020-02-15 · latest 2026-07-14
20082026
-
…3. If yes, server middleware strips types from the file before returning it In golang I use the go package github.com/evanw/esbuild[1] to do type stripping on the fly. The middleware looks like this: ``` return…
comment by umvi · 2026-07-14 · in Why Vanilla JavaScript -
…from that thread is he's trying to get a small change in esbuild added to help with this as well. https://github.com/evanw/esbuild/issues/4419
comment by giancarlostoro · 2026-04-02 · in Hugo's New CSS Powers -
…eschews these APIs to detect changes in watch mode and instead continually polls the filesystem: https://github.com/evanw/esbuild/issues/1527#issuecomment-90... . It actually consumes quite a bit of battery, so I might fork it and apply…
comment by anematode · 2026-03-29 · in Detecting file changes on macOS with kqueue -
…apply the same optimizations when targeting (e.g.) IIFE, because it's not fine in that context. https://github.com/evanw/esbuild/issues/1301
comment by thunderfork · 2026-02-24 · in Goodbye InnerHTML, Hello SetHTML: Stronger XSS Protection in Firefox 148 -
esbuild is still a Go app today: https://github.com/evanw/esbuild The first hints of what become Bun were when Jared experimented at porting that to Zig.
comment by simonw · 2025-12-02 · in Anthropic acquires Bun -
…maintained by the Go project itself: https://www.npmjs.com/package/esbuild?activeTab=dependencies https://github.com/evanw/esbuild/blob/755da31752d759f1ea70b8... Other "next generation" projects are trading one problematic ecosystem for…
comment by homebrewer · 2025-09-16 · in Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised -
…packages using esbuild in the second case, which someone else in the linked issue pointed out: https://github.com/evanw/esbuild/issues/1420#issuecomment-96...
comment by throwitaway1123 · 2025-08-19 · in Left to Right Programming -
…Although there are associated issues but they may be specific to esbuild. https://github.com/evanw/esbuild/issues/1420
comment by sebws · 2025-08-19 · in Left to Right Programming -
…10x performance improvements in frontend tooling, and even recent TypeScript rewrite to go[2]. [1] https://github.com/evanw/esbuild [2] https://github.com/microsoft/typescript-go
comment by yanis_t · 2025-07-02 · in Figma files for proposed IPO -
…network protocol and centralized servers are essentially the entire point of the whole thing. [1]: https://github.com/evanw/esbuild/blob/main/cmd/esbuild/stdio... [2]: https://github.com/microsoft/TypeScript/wiki/Standalone-Serv...
comment by jchw · 2025-03-12 · in A 10x Faster TypeScript -
…beats all other native bundlers combined. I can't remember anything else off the top of my head. https://github.com/evanw/esbuild
comment by homebrewer · 2025-03-11 · in A 10x Faster TypeScript -
…No, it is not. It is a continuation of an existing trend You may be interested in esbuild ( https://github.com/evanw/esbuild ), turborepo ( https://github.com/vercel/turborepo ), biome-js ( https://github.com/biomejs/biome ) are all native…
comment by nindalf · 2025-03-11 · in A 10x Faster TypeScript -
…which is the base of vite's HMR, boasts of speeds dozens to hundreds of times faster than webpack: https://github.com/evanw/esbuild?tab=readme-ov-file#why
comment by homebrewer · 2025-01-16 · in Modern JavaScript for Django developers -
…implemented it from the very beginning, and there would be no dichotomy between CJS and ESM. [1] https://github.com/evanw/esbuild/issues/1111
comment by throwitaway1123 · 2024-06-20 · in NPM and NodeJS should do more to make ES Modules easy to use -
…you want a small detail why: Vite is built on esbuild. Esbuild is carried by a single developer ( https://github.com/evanw/esbuild/graphs/contributors ) thus every nut and bolt that vite does for you on top is built in javascript, so you…
comment by sod · 2024-02-21 · in Remix Vite Is Now Stable -
…https://deno.land/x/esbuild@v0.17.18/mod.js --bundle app.js --outfile=bundle.js. # errors, see: https://github.com/evanw/esbuild/issues/2230 I'm really looking forward to the ECMAScript proposal on Type Annotations making it into browsers…
comment by laurencerowe · 2023-05-03 · in JavaScript import maps are now supported cross-browser -
Splitting vendor and index makes good sense, I use esbuild which has [iffy]( https://github.com/evanw/esbuild/issues/207 ) support for that. Still, the vendor code could be loaded independently while the application code (and styling!) is…
comment by explaininjs · 2023-04-10 · in We Need To Talk About Vercel -
I wonder how this compares (performance and feature-wise) to esbuild ( https://github.com/evanw/esbuild ), which is also a bundler written in a compiled language (Go)? esbuild claims to be 10-100x faster than JS-based builders, while…
comment by rob74 · 2023-03-10 · in Rspack: A fast Rust-based web bundler -
…the structure. By the way, JavaScript parser in esbuild is a 16 thousand lines of code module too: https://github.com/evanw/esbuild/blob/0db0b46399de81fb29f6fc...
comment by ash · 2023-01-03 · in Modules, not microservices -
…actually improve initialization time). This issue is most severe in old versions of JavaScriptCore: https://github.com/evanw/esbuild/issues/478 . When bundling, esbuild deliberately modifies the code to avoid the JavaScript features that…
comment by constexpr · 2022-11-02 · in PR that converts the TypeScript repo from namespaces to modules -
…significant after compression, but parsing time over billions of starts? Definitely worth it. [1] https://github.com/evanw/esbuild/issues/1126
comment by zebracanevra · 2022-11-02 · in PR that converts the TypeScript repo from namespaces to modules -
…number of chunks. On a moderately sized modular app, this can slow down things significantly[0] [0] https://github.com/evanw/esbuild/issues/2317
comment by gingerlime · 2022-10-26 · in Turbopack, the successor to Webpack -
Automatic JSX runtime was added to esbuild in 0.14.51: https://github.com/evanw/esbuild/pull/2349
comment by rtsao · 2022-10-25 · in Turbopack, the successor to Webpack -
…But most users don't need to care. It probably helps that the Go SDK builds static binaries. [1] https://github.com/evanw/esbuild/blob/master/lib/npm/node-in...
comment by skybrian · 2022-09-02 · in We want to make Nix better -
Code splitting issue: https://github.com/evanw/esbuild/issues/16
comment by candiddevmike · 2022-07-03 · in Vite – Next Generation Front End Tooling -
…and third kinds could be adopted. For instance: --key value --elements 1st --elements 2nd [1] https://github.com/evanw/esbuild
comment by conaclos · 2022-05-07 · in Unix command line conventions over time -
…go, but it still has a dependency on babel and webpack (via scripts/package.json fuse.js at least). https://github.com/evanw/esbuild/network/dependencies
comment by robocat · 2022-03-24 · in Open source ‘protestware’ harms Open Source -
…pattern esbuild uses is an interface with a single dummy method to denote a union type like this: https://github.com/evanw/esbuild/blob/34899aaa1d76acd3b4adc5... . It's used several times and is basically esbuild's core data structure. I'd…
comment by constexpr · 2022-01-27 · in I’m porting the TypeScript type checker tsc to Go -
…being able to process `const enum`, since it goes across module boundaries and Babel does not. [0]: https://github.com/evanw/esbuild/issues/128
comment by leodriesch · 2022-01-20 · in TypeScript Features to Avoid -
Commonly called "swc" and often compared to esbuild: https://github.com/evanw/esbuild
comment by manigandham · 2021-12-20 · in Speedy Web Compiler – a fast TypeScript/JavaScript compiler -
…in the spare time of a Co-founder & CTO of a ~10B Co - who also creates great demos :) [1] https://github.com/evanw/esbuild [2] https://github.com/evanw/esbuild/graphs/contributors [3] https://github.com/evanw
comment by mythz · 2021-11-29 · in WebGL Water -
Go is active in this space too, esbuild is a very fast JavaScript bundler - https://github.com/evanw/esbuild
comment by nickcw · 2021-11-11 · in Rust Is the Future of JavaScript Infrastructure -
…was started first That seems incorrect. - "put on github" - evanw committed on Jan 15, 2020 - https://github.com/evanw/esbuild/commit/23c40b1b6a76a8626f1d... - "initial commit" - kdy1 committed on Dec 22, 2017 -…
comment by capableweb · 2021-10-26 · in Next.js 12 -
…process to do heavy work is not a viable option". ESBuild DOES spawn process to do heavy work. https://github.com/evanw/esbuild/blob/11d7eacd491c94d2aa23cd...
comment by Ginden · 2021-10-24 · in Supercharge Your Node.js with Rust -
…fixed. Parcel 2 was released as stable yesterday though and Evan has already updated comparison. https://github.com/evanw/esbuild/commit/186446eae8cc8c7439eb...
comment by iruoy · 2021-10-14 · in Esbuild – An extremely fast JavaScript bundler -
…was worth changing my project just so I could continue using esbuild, it really is that good! [0]: https://github.com/evanw/esbuild/issues/1619
comment by pedrow · 2021-10-14 · in Esbuild – An extremely fast JavaScript bundler -
Such a shame that Angular doesn't benefit from using such tools: https://github.com/evanw/esbuild/issues/42#issuecomment-9339... So I'm currently stuck with a build that takes minutes, even though in principle it should require only…
comment by Tade0 · 2021-10-14 · in Esbuild – An extremely fast JavaScript bundler -
It is very easy to be misleading though: https://github.com/evanw/esbuild/issues/669
comment by gyosko · 2021-10-14 · in Esbuild – An extremely fast JavaScript bundler -
esbuild is awesome! The level of detail in the release notes [1] always impresses me. [1] https://github.com/evanw/esbuild/releases
comment by calmyournerves · 2021-10-14 · in Esbuild – An extremely fast JavaScript bundler -
…https://github.com/google/brotli https://github.com/ClickHouse/ClickHouse https://github.com/evanw/esbuild https://github.com/figma https://github.com/tailwindlabs/tailwindcss https://github.com/caddyserver/caddy https://github.com/
comment by pdevr · 2021-08-24 · in Ask HN: What are the best publicly available FAMANG code repos? -
Something like https://github.com/evanw/esbuild#readme ?
comment by flanket · 2021-05-20 · in WebContainers: Run Node.js natively in the browser -
People are talking the other points to death but on the toolchain front, you might enjoy https://github.com/evanw/esbuild , which is rapidly gaining in popularity. Just 1 thing for bundling, transpilation etc. And its terrifically fast…
comment by adamscybot · 2021-05-15 · in Modern Javascript: Everything you missed over the last 10 years (2020) -
…like a very new development. [1] https://esbuild.github.io/getting-started/#your-first-bundle [2] https://github.com/evanw/esbuild/issues/802
comment by lovelettr · 2021-04-21 · in Starting a TypeScript Project in 2021 -
He said in the past that he's not interested in implementing HMR[0] [0] https://github.com/evanw/esbuild/issues/97
comment by lhorie · 2021-03-09 · in Esbuild 0.9 -
Maybe esbuild can help? It's a go-based bundler that does typescript, es6, etc. and a lot more. https://github.com/evanw/esbuild It's still pretty well integrated into the npm world and distributed as a node package though, so there might…
comment by qbasic_forever · 2021-03-03 · in Deno v1.8 – support for WebGPU, private modules, Intl, and much more -
…browser externs is bypassed during compilation for Node.js-targeted bundles. Relevant discussion: https://github.com/evanw/esbuild/issues/425
comment by alessivs · 2021-02-17 · in Why Is Esbuild Fast? -
Similar experience here, extremely rapid turnaround time on my request for extended symlink support https://github.com/evanw/esbuild/issues/781 This project is a prototypical example of the power of open source. An incredible contribution…
comment by ricklamers · 2021-02-16 · in Why Is Esbuild Fast?