brp-template
thanks {president}
+{president: 'Obama'}
=thanks Obama
Applies string-template to the files in your pipeline.
Install
Make sure you have the latest version of Node installed first!
npm install brp-template --save
Then you can add brp-template to your build pipeline.
const Template = ...let template = templatebrp
Documentation
constructor(opts)
Option | Description | Default |
---|---|---|
glob |
the glob used to match streamed files | '*.@(json|mcmeta|info)' |
processUnmarked |
true if files not included in the pack should be processed |
false |
Template.supply(obj)
Appends a map of substitutions to the template.