Sha256: 4e1f87ea1ee5502126fa0591998f5dae1342f07ea68b322e751f031cc3c0abfe

Contents?: true

Size: 1.13 KB

Versions: 14

Compression:

Stored size: 1.13 KB

Contents

tasks = {
  "webpacker:info"                    => "Provides information on Webpacker's environment",
  "webpacker:install"                 => "Installs and setup webpack with Yarn",
  "webpacker:compile"                 => "Compiles webpack bundles based on environment",
  "webpacker:clean"                   => "Remove old compiled webpacks",
  "webpacker:clobber"                 => "Removes the webpack compiled output directory",
  "webpacker:check_node"              => "Verifies if Node.js is installed",
  "webpacker:check_yarn"              => "Verifies if Yarn is installed",
  "webpacker:check_binstubs"          => "Verifies that bin/webpacker is present",
  "webpacker:binstubs"                => "Installs Webpacker binstubs in this application",
  "webpacker:verify_install"          => "Verifies if Webpacker is installed",
  "webpacker:yarn_install"            => "Support for older Rails versions. Install all JavaScript dependencies as specified via Yarn"
}.freeze

desc "Lists all available tasks in Webpacker"
task :webpacker do
  puts "Available Webpacker tasks are:"
  tasks.each { |task, message| puts task.ljust(30) + message }
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
shakapacker-6.3.0 lib/tasks/webpacker.rake
shakapacker-6.3.0.pre.rc.1 lib/tasks/webpacker.rake
shakapacker-6.2.1 lib/tasks/webpacker.rake
shakapacker-6.2.0 lib/tasks/webpacker.rake
shakapacker-6.1.1 lib/tasks/webpacker.rake
shakapacker-6.1.0 lib/tasks/webpacker.rake
shakapacker-6.1.0.beta.0 lib/tasks/webpacker.rake
shakapacker-6.0.2 lib/tasks/webpacker.rake
shakapacker-6.0.1 lib/tasks/webpacker.rake
shakapacker-6.0.0 lib/tasks/webpacker.rake
shakapacker-6.0.0.rc.14 lib/tasks/webpacker.rake
shakapacker-6.0.0.rc.13 lib/tasks/webpacker.rake
shakapacker-6.0.0.rc.12 lib/tasks/webpacker.rake
shakapacker-6.0.0.rc.6 lib/tasks/webpacker.rake