makestatic-build-exec

    1.0.18 • Public • Published

    Build Exec

    Run commands during the build phase



    Install

    yarn add makestatic-build-exec
    

    API

    BuildExec

    Run commands.

    Useful when you are pre-processing source files, for example gathering and processing files that are outside of the input directory.

    after

    after(context, options)

    Executes build commands in parallel.

    Returns a promise that resolves when all commands have completed.

    • context Object the processing context.
    • options Object the plugin options.
    Options
    • commands String|Array list of commands to execute.
    • watch Boolean=true execute commands in watch mode.
    Throws
    • Error if the commands option is invalid.
    • Error if the command execution fails.

    License

    MIT


    Created by mkdoc on March 12, 2017

    Install

    npm i makestatic-build-exec

    DownloadsWeekly Downloads

    52

    Version

    1.0.18

    License

    MIT

    Last publish

    Collaborators

    • tmpfs