Class: Turbo::Engine

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

Constant Summary collapse

PRECOMPILE_ASSETS =

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

config.after_initialize do

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

end

%w( turbo.js turbo.min.js turbo.min.js.map )