Sha256: 3b0171375623b72ac9b355821f078dabe88534c9d7443c516214539d39ba4364

Contents?: true

Size: 405 Bytes

Versions: 7

Compression:

Stored size: 405 Bytes

Contents

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

    # for importmap
    initializer "vega.importmap" do |app|
      if defined?(Importmap)
        app.config.assets.precompile << "vega-embed.js"
        app.config.assets.precompile << "vega-interpreter.js"
        app.config.assets.precompile << "vega-lite.js"
        app.config.assets.precompile << "vega.js"
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vega-0.3.2 lib/vega/engine.rb
vega-0.3.1 lib/vega/engine.rb
vega-0.3.0 lib/vega/engine.rb
vega-0.2.7 lib/vega/engine.rb
vega-0.2.6 lib/vega/engine.rb
vega-0.2.5 lib/vega/engine.rb
vega-0.2.4 lib/vega/engine.rb