class

Hwaro::Models::AssetsConfig

Inherits Reference < Object

Asset pipeline configuration

Constructors

Instance methods

bundles
Source
bundles=(bundles : Array(AssetBundleConfig))
Source
enabled
Source
enabled=(enabled : Bool)
Source
fingerprint
Source
fingerprint=(fingerprint : Bool)
Source
minify
Source
minify=(minify : Bool)
Source
output_dir
Source
output_dir=(output_dir : String)
Source
source_dir
Source
source_dir=(source_dir : String)
Source
sri

Subresource Integrity: the local <link>/<script> tags Hwaro emits (auto-includes, self-hosted highlight assets) carry integrity="sha384-…" over the emitted bytes. Independent of enabled; asset_integrity() works either way.

Source
sri=(sri : Bool)

Subresource Integrity: the local <link>/<script> tags Hwaro emits (auto-includes, self-hosted highlight assets) carry integrity="sha384-…" over the emitted bytes. Independent of enabled; asset_integrity() works either way.

Source