Rails 5.1.beta1 has just been released, and it introduces webpack for managing JS dependencies. The webpacker:compile rake task allows compilation of the assets needed for javascript_pack_tag. This PR adds support for running this during deployment.
Anyone using webpacker can add this line to their deploy block after rails:db_migrate:
Rails 5.1.beta1 has just been released, and it introduces webpack for managing JS dependencies. The
webpacker:compile
rake task allows compilation of the assets needed forjavascript_pack_tag
. This PR adds support for running this during deployment.Anyone using webpacker can add this line to their deploy block after
rails:db_migrate
:You can find more information about webpacker here: https://github.com/rails/webpacker