2
0
Fork 0
node-ff-assets/lib/node-ff-assets.js

17 lines
481 B
JavaScript
Raw Permalink Normal View History

2015-02-27 00:25:57 +00:00
'use strict';
var assets = {
factory: require('./factory'),
AssetAssembler: require('./asset-assembler'),
checkAssemblerConfig: require('./asset-assembler-config').checkConfig,
AssetsBuilder: require('./assets-builder'),
checkBuilderConfig: require('./assets-builder-config').checkConfig,
};
assets.build = function (config,callback) {
var builder = new assets.AssetsBuilder(config);
builder.runAll(callback);
};
module.exports = assets;