Sha256: 5c0760d99dbe801c8d36b1544332e11ca17368fa3f7a7417d41395520797eb1c
Contents?: true
Size: 586 Bytes
Versions: 20
Compression:
Stored size: 586 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 Webpacker.config.config_path.exist? $stdout.puts "Webpacker is installed 🎉 🍰" $stdout.puts "Using #{Webpacker.config.config_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
20 entries across 20 versions & 2 rubygems