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
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