done by import maps, gem: importmap-rails
It lets you use Javascript libraries made for ES modules (ESM) without the need for transpiling and bundling. In turn, this eliminates the need for Webpack, yarn, node or any other part of the JavaScript toolchain.
done by sprockets, gem: sprockets-rails
concatenate all CSS files into one main
.cssfile, which is then minified or compressed.higher-level language for CSS.
done by sprockets
It inserts a SHA256 fingerprinting into each filename so that the file is cached by the web browser and CDN. This fingerprint is automatically updated when you change the file contents, which invalidates the cache.
