Class: CableReady::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/cable_ready/engine.rb

Constant Summary collapse

PRECOMPILE_ASSETS =

If you don’t want to precompile CableReady’s assets (eg. because you’re using webpack), you can do this in an initializer:

config.after_initialize do

config.assets.precompile -= CableReady::Engine::PRECOMPILE_ASSETS

end

%w[
  cable_ready.js
  cable_ready.umd.js
]