run webpack command only when webpack option is specified

This commit is contained in:
yuuji.yaginuma 2016-12-10 10:46:24 +09:00
parent c16296c795
commit c2c840fa6b

@ -426,7 +426,7 @@ def run_bundle
end
def run_webpack
rails_command "webpacker:install"
rails_command "webpacker:install" if options[:webpack]
end
def generate_spring_binstubs