← Graph

Rack::Static

tool 2 connections

Rack middleware added to a Rails Engine class (`config.app_middleware.use Rack::Static, ...`) to map requests for `/admin-assets` to files on disk inside the engine's `public/` directory. Lets a packaged Rails engine ship pre-compiled CSS/JS assets that the host app can serve without running its own asset pipeline.

category
library
related_to
Rack::Static tool
The pattern uses Rack::Static middleware to serve the pre-compiled asset directory from the engine.
tool Avo
uses
Rack::Static tool
Avo's engine registers Rack::Static to expose its pre-compiled assets to the host app.

Provenance

Read by
9 extractions