esbuild is a free and open-source module bundler and minifier for JavaScript and CSS[2] written by Evan Wallace.[3][4] Written in Go instead of JavaScript, esbuild claims to be "10 to 100 times" faster than other bundlers by using parallelism and shared memory usage.[5][6][7][8] It supports TypeScript, JSX, tree-shaking and is extensible through plugins.

esbuild
Developer(s)Evan Wallace Edit this on Wikidata
Stable release
0.24.0[1] Edit this on Wikidata / 22 September 2024; 2 months ago (22 September 2024)
Repository
Written inGo Edit this on Wikidata
Operating systemCross-platform Edit this on Wikidata
TypeJavaScript bundler
LicenseMIT License Edit this on Wikidata
WebsiteOfficial website Edit this at Wikidata

Usage

edit

esbuild is used in Vite, a front-end build-tool and development server, and the Phoenix Framework. It is included as a bundler for Angular since v17,[9] Ruby on Rails since v7,[10] and for Netlify Functions.[11]

See also

edit

References

edit
  1. ^ "Release 0.24.0". 22 September 2024. Retrieved 23 September 2024.
  2. ^ "esbuild - Content Types". esbuild.github.io. Retrieved 2024-04-15.
  3. ^ Couriol, Bruno. "Esbuild JavaScript Bundler Claims 10-100x Faster Bundling Time". InfoQ. Retrieved 10 November 2023.
  4. ^ Rappl, Florian (30 November 2022). Modern Frontend Development with Node.js: A compendium for modern JavaScript web development within the Node.js ecosystem. Packt Publishing Ltd. p. 95. ISBN 978-1-80461-738-0. Retrieved 10 November 2023. esbuild is quite a new tool that focuses on performance. The key to esbuild's enhanced performance is that it was written from the ground up in the Go...
  5. ^ Tyson, Matthew (26 May 2021). "7 tools transforming JavaScript development". InfoWorld.
  6. ^ Beswick, James (13 July 2022). "Optimizing Node.js dependencies in AWS Lambda | AWS Compute Blog". aws.amazon.com.
  7. ^ 范文杰 (25 June 2021). "Why is esbuild so fast". SegmentFault.
  8. ^ Minnick, Chris (5 April 2023). JavaScript All-in-One For Dummies. John Wiley & Sons. p. 515. ISBN 978-1-119-90685-8. because it's faster (as a result of being written in the Go language).
  9. ^ "Getting started with the Angular CLI's new build system". angular.io.
  10. ^ Krill, Paul (22 September 2021). "Ruby on Rails 7 pousse le no-node pour le bundling JavaScript - Le Monde Informatique". Le Monde informatique (in French). Retrieved 10 November 2023.
  11. ^ Bouças, Eduardo (2 April 2021). "Modern, faster Netlify Functions: New bundler and JavaScript features". Netlify.
edit