Sha256: e2875b1bb907fdcf24afb2c97ee0ecd531762ebd6389c64a54d7d306413e3dc8

Contents?: true

Size: 257 Bytes

Versions: 5

Compression:

Stored size: 257 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 )
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stimulus-rails-0.7.2 lib/stimulus/engine.rb
stimulus-rails-0.7.1 lib/stimulus/engine.rb
stimulus-rails-0.7.0 lib/stimulus/engine.rb
stimulus-rails-0.6.2 lib/stimulus/engine.rb
stimulus-rails-0.6.1 lib/stimulus/engine.rb