Sha256: a02b98b036f749b3ec64342693bf96dabbe0ef08761c1d010f2414793d4bf494

Contents?: true

Size: 1.13 KB

Versions: 16

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/webpack 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

16 entries across 16 versions & 1 rubygems

Version Path
webpacker-6.0.0.rc.6 lib/tasks/webpacker.rake
webpacker-6.0.0.rc.5 lib/tasks/webpacker.rake
webpacker-6.0.0.rc.4 lib/tasks/webpacker.rake
webpacker-6.0.0.rc.3 lib/tasks/webpacker.rake
webpacker-6.0.0.rc.2 lib/tasks/webpacker.rake
webpacker-6.0.0.rc.1 lib/tasks/webpacker.rake
webpacker-6.0.0.beta.7 lib/tasks/webpacker.rake
webpacker-6.0.0.beta.6 lib/tasks/webpacker.rake
webpacker-6.0.0.beta.5 lib/tasks/webpacker.rake
webpacker-6.0.0.beta.4 lib/tasks/webpacker.rake
webpacker-6.0.0.beta.3 lib/tasks/webpacker.rake
webpacker-6.0.0.beta.2 lib/tasks/webpacker.rake
webpacker-6.0.0.beta.1 lib/tasks/webpacker.rake
webpacker-6.0.0.beta lib/tasks/webpacker.rake
webpacker-6.0.0.pre.2 lib/tasks/webpacker.rake
webpacker-6.0.0.pre.1 lib/tasks/webpacker.rake