Sha256: 2db3eea6cc0e02d2a4200b9084f7960897d131460b39073f96d320a5c657aee7

Contents?: true

Size: 1.91 KB

Versions: 29

Compression:

Stored size: 1.91 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 webpack & webpack-dev-server are 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",
  "webpacker:install:react"           => "Installs and setup example React component",
  "webpacker:install:vue"             => "Installs and setup example Vue component",
  "webpacker:install:angular"         => "Installs and setup example Angular component",
  "webpacker:install:elm"             => "Installs and setup example Elm component",
  "webpacker:install:svelte"          => "Installs and setup example Svelte component",
  "webpacker:install:stimulus"        => "Installs and setup example Stimulus component",
  "webpacker:install:erb"             => "Installs Erb loader with an example",
  "webpacker:install:coffee"          => "Installs CoffeeScript loader with an example",
  "webpacker:install:typescript"      => "Installs Typescript loader with an example"
}.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

29 entries across 29 versions & 3 rubygems

Version Path
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/webpacker-5.4.4/lib/tasks/webpacker.rake
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/webpacker-5.4.4/lib/tasks/webpacker.rake
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/webpacker-5.4.4/lib/tasks/webpacker.rake
jetpacker-0.7.0 lib/tasks/webpacker.rake
webpacker-5.4.4 lib/tasks/webpacker.rake
jetpacker-0.6.0 lib/tasks/webpacker.rake
webpacker-5.4.3 lib/tasks/webpacker.rake
webpacker-5.4.2 lib/tasks/webpacker.rake
webpacker-5.4.1 lib/tasks/webpacker.rake
webpacker-5.4.0 lib/tasks/webpacker.rake
webpacker-5.3.0 lib/tasks/webpacker.rake
webpacker-5.2.2 lib/tasks/webpacker.rake
jetpacker-0.5.0 lib/tasks/webpacker.rake
webpacker-5.2.1 lib/tasks/webpacker.rake
webpacker-4.3.0 lib/tasks/webpacker.rake
webpacker-5.2.0 lib/tasks/webpacker.rake
webpacker-5.1.1 lib/tasks/webpacker.rake
webpacker-5.1.0 lib/tasks/webpacker.rake
webpacker-5.0.1 lib/tasks/webpacker.rake
webpacker-5.0.0 lib/tasks/webpacker.rake