Sha256: 7c10d52e5b238de8c4441ecb491952b85833bc30494ccb1ce5d43068c009f740

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

module Chartkick
  class Engine < ::Rails::Engine
    # for assets

    # for importmap
    if defined?(Importmap)
      initializer "chartkick.importmap", after: "importmap" do |app|
        app.config.assets.precompile << "chartkick.js"
        app.config.assets.precompile << "Chart.bundle.js"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chartkick-4.1.2 lib/chartkick/engine.rb