Esbuild

Last updated
esbuild
Developer(s) Evan Wallace  OOjs UI icon edit-ltr-progressive.svg
Stable release
0.24.2 [1]   OOjs UI icon edit-ltr-progressive.svg / 20 December 2024;59 days ago (20 December 2024)
Repository
Written in Go   OOjs UI icon edit-ltr-progressive.svg
Operating system Cross-platform  OOjs UI icon edit-ltr-progressive.svg
Type JavaScript bundler
License MIT License   OOjs UI icon edit-ltr-progressive.svg
Website Official website OOjs UI icon edit-ltr-progressive.svg

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.

Contents

Usage

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

References

  1. "Release 0.24.2". 20 December 2024. Retrieved 23 December 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. "Angular application build system". angular.dev.
  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.