esbuild and Friends
With Yarn in place to manage our third-party dependencies, we can look at a different set of problems. Problems like âHow can my code consistently reference other code, when that code is in another one of my code files or in third-party modules?â and âHow can I convert all of my disparate front-end assets into something that can be sent to and managed by a browser?â
All of the tools supported by jsbundling do this. These tools take our code that we have written, match up the external references, and bundle it into one (or more) files that can be sent to the browser.
Weâre going to focus on esbuild. esbuild is written in Go rather than JavaScript and compiles to a native binary, which makes it very fast. The website ...
Get Modern Front-End Development for Rails, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.