The options
object.
Optional
modules?: string[]Modules to postbuild.
package.json#sgrud.postbuild
Optional
prefix?: stringUse an alternative working directory.
'./'
An execution Promise.
Run with default options:
require('@sgrud/bin');
sgrud.bin.postbuild();
postbuild ./project/module
:
require('@sgrud/bin');
sgrud.bin.postbuild({
modules: ['./project/module']
});
Run in ./module
:
require('@sgrud/bin');
sgrud.bin.postbuild({
prefix: './module'
});
Generated using TypeDoc
Replicates exported package metadata for SGRUD-based projects.