Sha256: d944273301ba3a37644965c4a457ecd9a6252e9357f96922168277f4b582a122
Contents?: true
Size: 433 Bytes
Versions: 4
Compression:
Stored size: 433 Bytes
Contents
namespace :webpacker do desc "Verifies that webpack & webpack-dev-server are present." task :check_binstubs do unless Bundler.which(Gem.win_platform? ? "webpack.bat" : "webpack") $stderr.puts "webpack binstubs not found.\n"\ "Have you run rails webpacker:install ?\n"\ "Make sure the bin directory or binstubs are not included in .gitignore\n"\ "Exiting!" exit! end end end
Version data entries
4 entries across 4 versions & 2 rubygems