Sha256: f0c7c633a404da3b7ce8cec3b578af24498f72b4594b4fcff48f8f470ba44fb5
Contents?: true
Size: 598 Bytes
Versions: 61
Compression:
Stored size: 598 Bytes
Contents
# frozen_string_literal: true module Decidim module Webpacker module Runner def self.included(base) base.alias_method :original_initialize, :initialize base.send :private, :original_initialize base.define_method :initialize do |argv| original_initialize(argv) decidim_initialize(argv) end end private def decidim_initialize(_argv) # Write the runtime configuration and override the configuration @webpacker_config = Decidim::Webpacker.configuration.configuration_file end end end end
Version data entries
61 entries across 61 versions & 2 rubygems