Skip to main content
Go to Latest
class StyleLoader
implements [frugal.Loader]<string>
import { StyleLoader } from "https://deno.land/x/frugal@0.5.0/loader_style.ts";

Style loader, able to output a css stylesheet from all style module in the pages dependency graph

Constructors

new
StyleLoader(config: Config)

Properties

name: string
readonly
test

Methods

generate(params: frugal.GenerateParams)

Given a list of assets, generate the css stylesheet in [public]/style/. The loader will do nothing if the list of assets as not changed since the last generation