Sha256: 78b82ce871bb34ae3ce4a3a8fd1af903146a435178f16a53a4ec813e7726ee3e

Contents?: true

Size: 1.15 KB

Versions: 6

Compression:

Stored size: 1.15 KB

Contents

tasks = {
  "webpacker:install"                 => "Installs and setup webpack with yarn",
  "webpacker:compile"                 => "Compiles webpack bundles based on environment",
  "webpacker:check_node"              => "Verifies if Node.js is installed",
  "webpacker:check_yarn"              => "Verifies if yarn is installed",
  "webpacker:check_binstubs"          => "Verifies that bin/webpack & bin/webpack-dev-server are present",
  "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"
}.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

6 entries across 6 versions & 3 rubygems

Version Path
webpacker-for-component-1.1.0 lib/tasks/webpacker.rake
webpacker-3.0.2 lib/tasks/webpacker.rake
webpacker-3.0.1 lib/tasks/webpacker.rake
webpacker-3.0.0 lib/tasks/webpacker.rake
webpacker-react-on-rails-3.0.0.rc.1 lib/tasks/webpacker.rake
webpacker-react-on-rails-2.0 lib/tasks/webpacker.rake