Update extensions.rake

This commit is contained in:
Connor Turland 2017-10-15 14:02:22 -04:00 committed by GitHub
parent 3e563fb2ae
commit f8d2817acb

View file

@ -11,5 +11,9 @@ namespace :assets do
end
end
# run before
Rake::Task[:'assets:precompile'].enhance([:'assets:js_compile'])
Rake::Task[:'assets:precompile'].enhance([:'assets:production_ready'])
# run after
Rake::Task[:'assets:precompile'].enhance do
Rake::Task[:'assets:production_ready'].invoke
end