Sha256: 378421db49556390471f1f87d45543215e6aaee7c1386bb759bfd9e29b1cb4d5
Contents?: true
Size: 700 Bytes
Versions: 17
Compression:
Stored size: 700 Bytes
Contents
# Upgrading rails/webpacker v3.5 to v4 The following steps can be followed to update a Webpacker v3.5 app to v4. 1. Update the gem `webpacker` and the package `@rails/webpacker` 1. Merge changes from the new default [.babelrc](../lib/install/config/.babelrc) to your `/.babelrc`. If you are using React, you need to add `"@babel/preset-react"`, to the list of `presets`. 1. Copy the file [.browserslistrc](../lib/install/config/.browserslistrc) to `/`. 1. Merge any differences between [config/webpacker.yml](../lib/install/config/webpacker.yml) and your `/config/webpacker.yml`. Here is an [example commit of these changes](https://github.com/shakacode/react_on_rails-tutorial-v11/pull/1/files).
Version data entries
17 entries across 17 versions & 1 rubygems