esbuild
{{short description|Open-source JavaScript module bundler written in Go}}
{{Lowercase title}}
{{Infobox Software
| name = esbuild
| logo = Esbuild logo.svg
| logo_upright = yes
| caption =
| developer = {{wikidata|property|edit|P178}}
| latest release version = {{wikidata|property|preferred|references|edit|P348|P548=Q2804309}}
| latest release date = {{Start date and age|{{wikidata|qualifier|preferred|single|P348|P548=Q2804309|P577}}|df=yes}}
| operating system = {{ucfirst:{{wikidata|property|edit|P306}}}}
| programming language = {{wikidata|property|linked|edit|P277}}
| genre = {{wikidata|description}}
| license = {{wikidata|property|linked|edit|P275}}
| website = {{Official website}}
}}
esbuild is a free and open-source module bundler and minifier for JavaScript and CSS{{Cite web |title=esbuild - Content Types |url=https://esbuild.github.io/content-types/ |access-date=2024-04-15 |website=esbuild.github.io |language=en}} written by Evan Wallace.{{cite news |last1=Couriol |first1=Bruno |title=Esbuild JavaScript Bundler Claims 10-100x Faster Bundling Time |url=https://www.infoq.com/news/2020/06/esbuild-faster-go-js-bundler/ |access-date=10 November 2023 |work=InfoQ |language=en}}{{cite book |last1=Rappl |first1=Florian |title=Modern Frontend Development with Node.js: A compendium for modern JavaScript web development within the Node.js ecosystem |date=30 November 2022 |publisher=Packt Publishing Ltd |isbn=978-1-80461-738-0 |pages=95 |url=https://books.google.com/books?id=HyqdEAAAQBAJ&q=esbuild |access-date=10 November 2023 |language=en |quote=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...}} 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.{{cite news |last1=Tyson |first1=Matthew |title=7 tools transforming JavaScript development |url=https://www.infoworld.com/article/3619560/7-tools-transforming-javascript-development.html |work=InfoWorld |date=26 May 2021 |language=en}}{{cite web |last1=Beswick |first1=James |title=Optimizing Node.js dependencies in AWS Lambda {{!}} AWS Compute Blog |url=https://aws.amazon.com/fr/blogs/compute/optimizing-node-js-dependencies-in-aws-lambda/ |website=aws.amazon.com |date=13 July 2022}}{{cite web |last1=范文杰 |title=Why is esbuild so fast |url=https://segmentfault.com/a/1190000040243093/en |website=SegmentFault |date=25 June 2021 |language=en}}{{cite book |last1=Minnick |first1=Chris |title=JavaScript All-in-One For Dummies |date=5 April 2023 |publisher=John Wiley & Sons |isbn=978-1-119-90685-8 |page=515 |language=en |quote=because it’s faster (as a result of being written in the Go language).}} 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,{{cite web |title=Angular application build system |url=https://angular.dev/tools/cli/build-system-migration |website=angular.dev}} Ruby on Rails since v7,{{cite web |last1=Krill |first1=Paul |title=Ruby on Rails 7 pousse le no-node pour le bundling JavaScript - Le Monde Informatique |url=https://www.lemondeinformatique.fr/actualites/lire-ruby-on-rails-7-pousse-le-no-node-pour-le-bundling-javascript-84253.html |website=Le Monde informatique |access-date=10 November 2023 |language=fr |date=22 September 2021}} and for Netlify Functions.{{cite web |last1=Bouças |first1=Eduardo |title=Modern, faster Netlify Functions: New bundler and JavaScript features |url=https://www.netlify.com/blog/2021/04/02/modern-faster-netlify-functions/ |website=Netlify |date=2 April 2021 |language=en}}
See also
References
{{Reflist}}
External links
- {{Official website}}
- {{github|evanw/esbuild}}
{{JavaScript|state=collapsed}}
{{Authority control}}
Category:JavaScript programming tools
Category:Software using the MIT license
Category:Free software programmed in Go
Category:Cross-platform free software
{{programming-software-stub}}