Skip to content

Commit

Permalink
Merge pull request #29851 from printercu/patch-1
Browse files Browse the repository at this point in the history
Make `rails yarn:install` ignore dev dependencies
  • Loading branch information
eileencodes committed Jul 20, 2017
2 parents 526d4b8 + 2118c98 commit e8eada4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/tasks/yarn.rake
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit e8eada4

Please sign in to comment.