Sha256: 57bc977eb1855ddcd99abc584fbf86476bff9b2e979231f7ee53389d8c1d78f1
Contents?: true
Size: 354 Bytes
Versions: 21
Compression:
Stored size: 354 Bytes
Contents
require "shellwords" require "webpacker/runner" module Webpacker class WebpackRunner < Webpacker::Runner def run env = { "NODE_PATH" => @node_modules_path.shellescape } cmd = [ "#{@node_modules_path}/.bin/webpack", "--config", @webpack_config ] + @argv Dir.chdir(@app_path) do exec env, *cmd end end end end
Version data entries
21 entries across 21 versions & 2 rubygems