2
0
Fork 0
node-ff-assets/lib/node-ff-assets.js
2015-02-27 01:25:57 +01:00

17 lines
481 B
JavaScript

'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;