- The first major shift is major browser support for ES6. This completes removes the need for transpiling.
Here are the new options,
rails newproduces a skeleton configured with importmap-rails, turbo-rails, and stimulus-rails. No Webpack, no Yarn, no package.json, no node. All the integration setup is done through adding the gems, then running
rails new —skip-hotwirea skeleton-like above but with just importmap-rails configured.
rails new —webpackis essentially what we had on Rails 6.2, with the exception that the default Turbolinks configuration is replaced with Hotwire (both Turbo and Stimulus). This of course includes setting up package.json, Yarn, etc.
rails new —webpack —skip-hotwireis the same as above, minus the default configuration of Hotwire.