Skip to content

Commit

Permalink
Make yarn_install task consistent with the one shipped with Rails
Browse files Browse the repository at this point in the history
  • Loading branch information
guilleiguaran committed Dec 20, 2017
1 parent acb5c94 commit d5fe0fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/webpacker/yarn_install.rake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace :webpacker do
desc "Support for older Rails versions. Install all JavaScript dependencies as specified via Yarn"
task :yarn_install, [:arg1, :arg2] do |task, args|
system "yarn #{args[:arg1]} #{args[:arg2]}"
task :yarn_install do
system "yarn install --no-progress --production"
end
end

0 comments on commit d5fe0fe

Please sign in to comment.