Create a payload file based upon directory structure.
var jsonConcat = require('broccoli-json-concat');
var tree = jsonConcat(targetDirectory);
The builder accepts an optional hash of options:
persistentOutput
: boolean flag passed to broccoli-plugin.needCache
: boolean flag passed to broccoli-plugin.variableName
: If set, the file contains a variable declaration to this variable name.outputFile
: name of the output file.
I know, right?
Running the tests:
yarn
yarn test
This project is distributed under the MIT license.