Software:esbuild

From HandWiki
Short description: Open-source JavaScript module bundler written in Go

esbuild

esbuild is a free and open-source module bundler and minifier for JavaScript written by Evan Wallace.[1][2] 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.[3][4][5][6] 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,[7] Ruby on Rails since v7,[8] and for Netlify Functions.[9]

See also

  • Webpack
  • Vite

References

  1. Couriol, Bruno. "Esbuild JavaScript Bundler Claims 10-100x Faster Bundling Time" (in en). InfoQ. https://www.infoq.com/news/2020/06/esbuild-faster-go-js-bundler/. 
  2. Rappl, Florian (30 November 2022) (in en). Modern Frontend Development with Node.js: A compendium for modern JavaScript web development within the Node.js ecosystem. Packt Publishing Ltd. pp. 95. ISBN 978-1-80461-738-0. https://books.google.com/books?id=HyqdEAAAQBAJ&q=esbuild. 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..." 
  3. Tyson, Matthew (26 May 2021). "7 tools transforming JavaScript development" (in en). InfoWorld. https://www.infoworld.com/article/3619560/7-tools-transforming-javascript-development.html. 
  4. Beswick, James (13 July 2022). "Optimizing Node.js dependencies in AWS Lambda | AWS Compute Blog". https://aws.amazon.com/fr/blogs/compute/optimizing-node-js-dependencies-in-aws-lambda/. 
  5. 范文杰 (25 June 2021). "Why is esbuild so fast" (in en). https://segmentfault.com/a/1190000040243093/en. 
  6. Minnick, Chris (5 April 2023) (in en). 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)." 
  7. "Getting started with the Angular CLI's new build system". https://angular.io/guide/esbuild. 
  8. Krill, Paul (22 September 2021). "Ruby on Rails 7 pousse le no-node pour le bundling JavaScript - Le Monde Informatique" (in fr). https://www.lemondeinformatique.fr/actualites/lire-ruby-on-rails-7-pousse-le-no-node-pour-le-bundling-javascript-84253.html. 
  9. Bouças, Eduardo. "Modern, faster Netlify Functions: New bundler and JavaScript features" (in en). https://www.netlify.com/blog/2021/04/02/modern-faster-netlify-functions/. 

External links