The options
object.
Optional
format?: stringruntimify bundle format (umd or esm).
'umd'
Optional
modules?: string[]Modules to runtimify.
package.json#sgrud.runtimify
Optional
output?: stringOutput file in module root.
'runtimify.[format].js'
Optional
prefix?: stringUse an alternative working directory.
'./'
An execution Promise.
Run with default options (not recommended):
require('@sgrud/bin');
sgrud.bin.runtimify();
runtimify @microsoft/fast
:
require('@sgrud/bin');
sgrud.bin.runtimify({
modules: ['@microsoft/fast']
});
Generated using TypeDoc
Creates ESM or UMD bundles for node modules using microbundle.