targetprocess-mashup-config-loader

1.0.0 • Public • Published

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

MIT (http://www.opensource.org/licenses/mit-license.php)

Package Sidebar

Install

npm i targetprocess-mashup-config-loader

Weekly Downloads

4

Version

1.0.0

License

none

Last publish

Collaborators

  • roadhump