mako-output
A plugin that generates the output location for files.
Purpose
- rewrites
file.path
to be in a subdirectory relative tofile.base
(eg:index.js -> build/index.js
)
API
output(extensions, [options])
The extensions
argument can be passed as either a single String
or an Array
of file extensions.
(without the leading dot)
Available options
:
dir
(default:build
)