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

Dependents (0)

Package Sidebar

Install

npm i makestatic-build-exec

Weekly Downloads

19

Version

1.0.18

License

MIT

Last publish

Collaborators

  • tmpfs