method
run_webpack
rails latest stable - Class:
Rails::Generators::AppBase
run_webpack()private
No documentation available.
# File railties/lib/rails/generators/app_base.rb, line 431
def run_webpack
return unless webpack_install?
unless bundle_install?
say <<~EXPLAIN
Skipping `rails webpacker:install` because `bundle install` was skipped.
To complete setup, you must run `bundle install` followed by `rails webpacker:install`.
EXPLAIN
return
end
rails_command "webpacker:install"
if options[:webpack] && options[:webpack] != "webpack"
rails_command "webpacker:install:#{options[:webpack]}"
end
end