September 2022
Intermediate to advanced
410 pages
10h 7m
English
I mentioned in passing at the beginning of the book that the jsbunding and cssbundling tooling is not the default in Rails 7. The Rails 7 default is called importmaps-rails, and is based on a newish standard feature called Import Maps. The goal of Import Maps is to allow you to write JavaScript tooling without doing any build step or bundling at all, and without having to use Node.js at all.
Import maps have the promise of a developer environment that is not encumbered by a continual JavaScript build process, and as such, sound pretty great. Import Maps are especially useful for Rails projects that don’t have a tremendous number of dependent packages, and don’t do much in the way of transpiling or converting assets.
Because import ...