Hacker GitHub

← All repos

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

Mentions per year 78 mentions · busiest year 2021 (29)
20082026
  1. …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
  2. …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
  3. …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
  4. …apply the same optimizations when targeting (e.g.) IIFE, because it's not fine in that context. https://github.com/evanw/esbuild/issues/1301
  5. 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
  6. …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…
  7. …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
  8. …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
  9. …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
  10. …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
  11. …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
  12. …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
  13. …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
  14. …implemented it from the very beginning, and there would be no dichotomy between CJS and ESM. [1] https://github.com/evanw/esbuild/issues/1111
  15. …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
  16. …every type yourself or use `no_std` variants. [1] https://github.com/ziglang/zig/issues/2974 [2] https://github.com/evanw/esbuild/issues/189#issuecomment-647...
    comment by armchairhacker · 2023-08-04 · in Zig 0.11
  17. …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…
  18. 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
  19. 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
  20. …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
  21. …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…
  22. …significant after compression, but parsing time over billions of starts? Definitely worth it. [1] https://github.com/evanw/esbuild/issues/1126
  23. …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
  24. 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
  25. …+ bundling to only a few seconds. https://vitejs.dev https://github.com/swc-project/swc https://github.com/evanw/esbuild
    comment by 5e92cb50239222b · 2022-10-18 · in Why Rust?
  26. …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
  27. Code splitting issue: https://github.com/evanw/esbuild/issues/16
    comment by candiddevmike · 2022-07-03 · in Vite – Next Generation Front End Tooling
  28. …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
  29. …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
  30. …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…
  31. …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
  32. Commonly called "swc" and often compared to esbuild: https://github.com/evanw/esbuild
  33. …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
  34. Go is active in this space too, esbuild is a very fast JavaScript bundler - https://github.com/evanw/esbuild
  35. …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
  36. …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
  37. …fixed. Parcel 2 was released as stable yesterday though and Evan has already updated comparison. https://github.com/evanw/esbuild/commit/186446eae8cc8c7439eb...
  38. …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
  39. 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…
  40. It is very easy to be misleading though: https://github.com/evanw/esbuild/issues/669
  41. 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
  42. esbuild tends to produce larger bundles due to https://github.com/evanw/esbuild/issues/639 . Looks like there was recent activity though, so we need to re-test. Anyway, there's a plugin available for now:…
    comment by devongovett · 2021-10-14 · in Parcel v2
  43. …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/
  44. Something like https://github.com/evanw/esbuild#readme ?
  45. 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…
  46. …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
  47. 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
  48. 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…
  49. …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?
  50. 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?