Esbuild Explained

esbuild

esbuild is a free and open-source module bundler and minifier for JavaScript and CSS[1] written by Evan Wallace.[2] [3] 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.[4] [5] [6] [7] It supports TypeScript, JSX, tree-shaking and is extensible through plugins.

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,[8] Ruby on Rails since v7,[9] and for Netlify Functions.[10]

See also

Notes and References

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