class

Hwaro::Assets::Pipeline

Inherits Reference / Object

Constructors

new(config : Models::AssetsConfig, base_url : String, sass_enabled : Bool = false)

sass_enabled mirrors [sass].enabled: .scss bundle entries compile through the built-in compiler only when the feature is on; otherwise they concatenate verbatim (pre-Sass behavior, and the escape hatch for sources outside the supported subset).

Source

Instance methods

manifest

Manifest mapping original names to fingerprinted output paths e.g. "main.css" => "/assets/main.a1b2c3d4.css"

Source
process(output_dir : String)
Source