Sha256: 60048a24bcf258678cad1f2babecfb9ffd696930d95e746d456944908960b3b4
Contents?: true
Size: 501 Bytes
Versions: 2
Compression:
Stored size: 501 Bytes
Contents
require "active_support/all" namespace :webpacker do desc "Install Webpacker in this application" task install: [:check_node, :check_yarn] do install_template_path = File.expand_path("../../install/template.rb", __dir__) require "rails/generators" require "rails/generators/rails/app/app_generator" generator = Rails::Generators::AppGenerator.new [Jets.root], {force: ENV['FORCE']}, destination_root: Jets.root generator.apply install_template_path, verbose: false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webpacker-jets-3.2.101 | lib/tasks/webpacker/install.rake |
webpacker-jets-3.2.100 | lib/tasks/webpacker/install.rake |