Class: Codemirror::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Codemirror::Engine
- Defined in:
- lib/codemirror/engine.rb
Overview
A minimal Rails::Engine whose only job is to make the bundled CodeMirror assets available to the host application.
Propshaft (and Sprockets) automatically append every engine's
app/assets directories to the asset load path, so the JavaScript modules
under app/assets/javascripts/codemirror/ are served without any extra
configuration.
When importmap-rails is present, the pins declared in config/importmap.rb
are merged into the application's import map.