Flowdock
method

run_webpack

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: AppBase
run_webpack() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.