makestatic-clean-output
v1.0.18
Published
Removes the output directory
Downloads
3
Maintainers
Readme
Clean Output
Removes the output directory
Install
yarn add makestatic-clean-output
API
CleanOutput
Plugin to remove the output directory, makes sure your build is pristine.
This plugin is activated when the clean
boolean option is set.
By default it will remove the entire output
directory however if the
configuration option clean
is set to an array of glob patterns then
only the files matching the configured glob patterns are removed.
See Also
after
after(context)
Removes the output directory.
Returns a promise that resolves when the output directory is removed.
context
Object the processing context.
Throws
Error
if the unlink operation fails.
License
MIT
Created by mkdoc on March 12, 2017