Sha256: 93f8b56f8fc8843e0c481eb5cf5ef8ea11782bec3434b3b4f715726e9d8af6ee
Contents?: true
Size: 470 Bytes
Versions: 30
Compression:
Stored size: 470 Bytes
Contents
require "webpacker/configuration" namespace :webpacker do desc "Verifies if the Webpacker config is present" task :verify_config 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
30 entries across 30 versions & 2 rubygems