diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2019-04-26 15:28:27 +0530 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2019-08-04 22:20:59 +0200 |
commit | cebbf6c6cfc88ed2bd64853bad8d0c9adf420fd9 (patch) | |
tree | e332c55dfa1e4d653365eaaa017b7c2e45847c89 | |
parent | 2c0b67c2810e74c643afd018da5e511055281f4d (diff) | |
download | rails-cebbf6c6cfc88ed2bd64853bad8d0c9adf420fd9.tar.gz rails-cebbf6c6cfc88ed2bd64853bad8d0c9adf420fd9.tar.bz2 rails-cebbf6c6cfc88ed2bd64853bad8d0c9adf420fd9.zip |
Mention how to use webpacker in updated Rails apps [ci skip]
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 05980d1614..39a291ed97 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -78,6 +78,20 @@ Upgrading from Rails 5.2 to Rails 6.0 For more information on changes made to Rails 6.0 please see the [release notes](6_0_release_notes.html). +### Using Webpacker + +[Webpacker](https://github.com/rails/webpacker) +is the default JavaScript compiler for Rails 6. But if you are upgrading the app, it is not activated by default. +If you want to use Webpacker, then include it in your Gemfile and install it: + +```ruby +gem "webpacker" +``` + +```sh +bin/rails webpacker:install +``` + ### Force SSL The `force_ssl` method on controllers has been deprecated and will be removed in |