Sha256: b48d642e67d209f933eba3a766a8ab8cda6e835f9ce1de62156d60a1e5bbd53e
Contents?: true
Size: 461 Bytes
Versions: 21
Compression:
Stored size: 461 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require "pathname" require "rubygems" require "bundler/setup" require "webpacker" require "webpacker/webpack_runner" ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development" ENV["NODE_ENV"] ||= ENV["RAILS_ENV"] ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) APP_ROOT = File.expand_path("..", __dir__) Dir.chdir(APP_ROOT) do Webpacker::WebpackRunner.run(ARGV) end
Version data entries
21 entries across 21 versions & 1 rubygems