17 lines
481 B
JavaScript
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;
|