module

Plombir::Check::AssetsCheck

Assets section: local images, scripts, and stylesheets referenced by the built HTML must exist in dist/. url() references inside CSS files are out of scope (Phase 5 owns assets).

Constants

ASSET_EXTENSIONS = {".png", ".jpg", ".jpeg", ".gif", ".svg", ".webp", ".avif", ".ico", ".js", ".mjs", ".css", ".woff", ".woff2", ".ttf", ".otf", ".eot", ".mp4", ".webm", ".mp3", ".ogg", ".pdf"}

src/href values pointing at page assets rather than pages: images, scripts, stylesheets, fonts, media.

SECTION = "Assets"

Class methods

check(dist : String) : Array(Issue)
Source