Skip to Main Content
Modern Front-End Development for Rails, 2nd Edition
book

Modern Front-End Development for Rails, 2nd Edition

by Noel Rappin
September 2022
Intermediate to advanced content levelIntermediate to advanced
410 pages
10h 7m
English
Pragmatic Bookshelf
Content preview from Modern Front-End Development for Rails, 2nd Edition

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 suggests ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Modern Front-End Development for Rails

Modern Front-End Development for Rails

Noel Rappin

Publisher Resources

ISBN: 9781680509977Errata Page