1.0.0 • Published 8 years ago
targetprocess-mashup-config-loader v1.0.0
targetprocess-mashup-config-loader
Webpack loader to create Targetprocess mashup config from JSON file.
Usage
// config.json
{
"name": "something"
}
require('targetprocess-mashup-config-loader?libraryTarget=MyMashup!./manifest.json');
// will produce
// tau.mashups.addModule('MyMashup/config', {
// "name": "something"
// })
Options
libraryTarget
Set root module name.
parse
Parse and output config as valid JSON, set to false
to use comments in JSON.
License
1.0.0
8 years ago