- The first major shift is major browser support for ES6. This completes removes the need for transpiling.
Here are the new options,
- rails new produces 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 importmap:install, turbo:install, stimulus:install tasks.
- rails new —skip-hotwire a skeleton-like above but with just importmap-rails configured.
- rails new —webpack is 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-hotwire is the same as above, minus the default configuration of Hotwire.