resources.Babel
Compiles the given JavaScript resource with Babel.
resources.ByType
Returns a collection of global resources of the given media type, or nil if none found.
resources.Concat
Returns a concatenated slice of resources.
resources.Copy
Copies the given resource to the target path.
resources.ExecuteAsTemplate
Returns a resource created from a Go template, parsed and executed with the given context.
resources.Fingerprint
Cryptographically hashes the content of the given resource.
resources.FromString
Returns a resource created from a string.
resources.Get
Returns a global resource from the given path, or nil if none found.
resources.GetMatch
Returns the first global resource from paths matching the given glob pattern, or nil if none found.
resources.GetRemote
Returns a remote resource from the given URL, or nil if none found.
resources.Match
Returns a collection of global resources from paths matching the given glob pattern, or nil if none found.
resources.Minify
Minifies the given resource.
resources.PostCSS
Processes the given resource with PostCSS using any PostCSS plugin.
resources.PostProcess
Processes the given resource after the build.
resources.ToCSS
Transpiles Sass to CSS.