diff options
author | printercu <printercu@gmail.com> | 2017-07-19 17:54:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-19 17:54:00 +0300 |
commit | 2118c98b98c4984069e070aa0d5c398de618d02a (patch) | |
tree | 5bc389895e6dacc0dc8ae615c81cb5706aa3196e /railties/lib | |
parent | 1f7f872ac6c8b57af6e0117bde5f6c38d0bae923 (diff) | |
download | rails-2118c98b98c4984069e070aa0d5c398de618d02a.tar.gz rails-2118c98b98c4984069e070aa0d5c398de618d02a.tar.bz2 rails-2118c98b98c4984069e070aa0d5c398de618d02a.zip |
Make `rails yarn:install` ignore dev dependencies
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/tasks/yarn.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/yarn.rake b/railties/lib/rails/tasks/yarn.rake index 87476b1b8c..6cb19b7282 100644 --- a/railties/lib/rails/tasks/yarn.rake +++ b/railties/lib/rails/tasks/yarn.rake @@ -1,7 +1,7 @@ namespace :yarn do desc "Install all JavaScript dependencies as specified via Yarn" task :install do - system("./bin/yarn install --no-progress") + system("./bin/yarn install --no-progress --production") end end |