Sha256: 89c2f030c20d7927a9535268771f710e933197e16cf600b576de67deb4cbb17a
Contents?: true
Size: 506 Bytes
Versions: 10
Compression:
Stored size: 506 Bytes
Contents
require "webpacker/configuration" namespace :webpacker do desc "Verifies if Webpacker is installed" task verify_install: [:check_node, :check_yarn, :check_binstubs] do unless Webpacker.config.config_path.exist? path = Webpacker.config.config_path.relative_path_from(Pathname.new(pwd)).to_s $stderr.puts "Configuration #{path} file not found. \n"\ "Make sure webpacker:install is run successfully before " \ "running dependent tasks" exit! end end end
Version data entries
10 entries across 10 versions & 1 rubygems