method

run_webpack

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: AppBase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

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.