build

Much the same as compile however build takes and outputs files.

void
build
(
string sourcePath
,
string staticPath
,
string staticdir = "public"
,
bool min = true
)

Parameters

sourcePath string

Path to asset source to be built.

staticPath string

Path to the compile assets output destination.

staticdir string

Your statically served asset directory. Default is public/

min bool

If true the output will be minified/uglifies with yuglify.

Meta