Removes the output directory
yarn add makestatic-clean-output
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.
after(context)
Removes the output directory.
Returns a promise that resolves when the output directory is removed.
-
context
Object the processing context.
-
Error
if the unlink operation fails.
MIT
Created by mkdoc on March 12, 2017