aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2017-07-20 11:30:36 -0400
committerGitHub <noreply@github.com>2017-07-20 11:30:36 -0400
commite8eada467453dcaaddb8d0036fe4bd8085429904 (patch)
tree06f53c756b02588a93fc08dbc71b09109bddf510 /railties/lib
parent526d4b8dc816c17e354e2e0243af16d10147c3f0 (diff)
parent2118c98b98c4984069e070aa0d5c398de618d02a (diff)
downloadrails-e8eada467453dcaaddb8d0036fe4bd8085429904.tar.gz
rails-e8eada467453dcaaddb8d0036fe4bd8085429904.tar.bz2
rails-e8eada467453dcaaddb8d0036fe4bd8085429904.zip
Merge pull request #29851 from printercu/patch-1
Make `rails yarn:install` ignore dev dependencies
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/tasks/yarn.rake2
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