Sha256: f9e8524679a7399e4ec35229fada13cb521cc41ab124c75e55598252d70789ae
Contents?: true
Size: 604 Bytes
Versions: 2
Compression:
Stored size: 604 Bytes
Contents
require "webpacker/configuration" namespace :webpacker do desc "Verifies if webpacker is installed" task verify_install: [:check_node, :check_yarn, :check_binstubs] do if File.exist?(Webpacker::Configuration.file_path) $stdout.puts "Webpacker is installed 🎉 🍰" $stdout.puts "Using #{Webpacker::Configuration.file_path} file for setting up webpack paths" else $stderr.puts "Configuration config/webpacker.yml file not found. \n"\ "Make sure webpacker:install is run successfully before " \ "running dependent tasks" exit! end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webpacker-react-on-rails-3.0.0.rc.1 | lib/tasks/webpacker/verify_install.rake |
webpacker-react-on-rails-2.0 | lib/tasks/webpacker/verify_install.rake |