Neurotic Pink Mongooses

    makestatic-clean-output

    1.0.18 • Public • Published

    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

    Install

    npm i makestatic-clean-output

    DownloadsWeekly Downloads

    45

    Version

    1.0.18

    License

    MIT

    Last publish

    Collaborators

    • tmpfs