lib/asset-manifest-generator.js
function AssetManifestGenerator(inputTrees, options) {
  options = options || {};

  this.prepend = options.prepend || '';
  this.filesToIgnore = options.filesToIgnore || [];
  this.supportedTypes = options.supportedTypes || DEFAULT_SUPPORTED_TYPES;
  this.generateURI = options.generateURI || function generateURI(filePath) {
    return filePath;
  };

  Plugin.call(this, inputTrees, {
    annotation: options.annotation
  });
}
function AssetManifestGenerator(inputTrees, options) {
  options = options || {};

  this.prepend = options.prepend || '';
  this.filesToIgnore = options.filesToIgnore || [];
  this.supportedTypes = options.supportedTypes || DEFAULT_SUPPORTED_TYPES;
  this.generateURI = options.generateURI || function generateURI(filePath) {
    return filePath;
  };

  Plugin.call(this, inputTrees, {
    annotation: options.annotation
  });
}
function AssetManifestGenerator ( inputTrees , options ) { options = options || { } ; this . prepend = options . prepend || '' ; this . filesToIgnore = options . filesToIgnore || [ ] ; this . supportedTypes = options . supportedTypes || DEFAULT_SUPPORTED_TYPES ; this . generateURI = options . generateURI || function generateURI ( filePath ) { return filePath ; } ; Plugin . call ( this , inputTrees , { annotation : options . annotation } ) ; }
A Broccoli plugin to generate an asset manifest from a given input tree.
You can also provide a second tree that is a tree containing an existing
`asset-manifest.json` file to merge with.

@class AssetManifestGenerator
@extends BroccoliCachingWriter
A Broccoli plugin to generate an asset manifest from a given input tree . You can also provide a second tree that is a tree containing an existing asset - manifest . json file to merge with .