Sha256: 360c5712d48b73c37ccd463d48dc2a20220ec45f0ba1cacf4c6e14029be5204b

Contents?: true

Size: 1023 Bytes

Versions: 10

Compression:

Stored size: 1023 Bytes

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",
}.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

10 entries across 10 versions & 1 rubygems

Version Path
shakapacker-6.6.0 lib/tasks/webpacker.rake
shakapacker-6.5.6 lib/tasks/webpacker.rake
shakapacker-6.5.5 lib/tasks/webpacker.rake
shakapacker-6.5.4 lib/tasks/webpacker.rake
shakapacker-6.5.3 lib/tasks/webpacker.rake
shakapacker-6.5.2 lib/tasks/webpacker.rake
shakapacker-6.5.1 lib/tasks/webpacker.rake
shakapacker-6.5.0 lib/tasks/webpacker.rake
shakapacker-6.4.1 lib/tasks/webpacker.rake
shakapacker-6.4.0 lib/tasks/webpacker.rake