Sha256: 881e38946162c0db137424b150e40f0689368e8c7f344bb3c9e1d07f3b65d6b5

Contents?: true

Size: 277 Bytes

Versions: 5

Compression:

Stored size: 277 Bytes

Contents

module Stimulus
  class Engine < ::Rails::Engine
    initializer "stimulus.assets" do
      if Rails.application.config.respond_to?(:assets)
        Rails.application.config.assets.precompile += %w( stimulus.js stimulus.min.js stimulus.min.js.map )
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stimulus-rails-1.0.4 lib/stimulus/engine.rb
stimulus-rails-1.0.3 lib/stimulus/engine.rb
stimulus-rails-1.0.2 lib/stimulus/engine.rb
stimulus-rails-1.0.0 lib/stimulus/engine.rb
stimulus-rails-0.7.3 lib/stimulus/engine.rb