Sha256: 59c308b92f7e6ba68572a90dc3f280102aa0e0b05cefa512d475368653b53a28
Contents?: true
Size: 607 Bytes
Versions: 3
Compression:
Stored size: 607 Bytes
Contents
# encoding: UTF-8 require "webpacker/configuration" namespace :webpacker do desc "Verifies if webpacker is installed" task verify_install: [:check_node, :check_yarn, :check_webpack_binstubs] do if File.exist?(Webpacker::Configuration.file_path) puts "Webpacker is installed 🎉 🍰" puts "Using #{Webpacker::Configuration.file_path} file for setting up webpack paths" else 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
3 entries across 3 versions & 1 rubygems