clean-output

Removes the output directory.

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.