Sha256: d7204e304c5bd56bda86376bd61a9109fd5299a84dad92481166f546903d9500
Contents?: true
Size: 446 Bytes
Versions: 19
Compression:
Stored size: 446 Bytes
Contents
class Webpacker::Commands delegate :config, :compiler, :manifest, to: :@webpacker def initialize(webpacker) @webpacker = webpacker end def clobber config.public_output_path.rmtree if config.public_output_path.exist? config.cache_path.rmtree if config.cache_path.exist? end def bootstrap manifest.refresh end def compile compiler.compile.tap do |success| manifest.refresh if success end end end
Version data entries
19 entries across 19 versions & 2 rubygems