Class: RailsCharts::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- RailsCharts::Engine
- Defined in:
- lib/rails_charts/engine.rb
Constant Summary collapse
- PRECOMPILE_ASSETS =
If you don’t want to precompile Echarts’s assets (eg. because you’re using webpack), you can do this in an intiailzer:
config.after_initialize do
config.assets.precompile -= RailsCharts::Engine::PRECOMPILE_ASSETS
end
Dir[root.join("app/assets/javascripts/**/*")]