Pass around single config object
This commit is contained in:
committed by
Andreas Hocevar
parent
3447f93bfe
commit
250f6901d3
@@ -186,7 +186,7 @@ function build(config, paths, callback) {
|
||||
function main(config, callback) {
|
||||
async.waterfall([
|
||||
assertValidConfig.bind(null, config),
|
||||
generateExports.bind(null, config.exports, config.namespace),
|
||||
generateExports.bind(null, config),
|
||||
getDependencies.bind(null, config.src),
|
||||
build.bind(null, config)
|
||||
], callback);
|
||||
|
||||
Reference in New Issue
Block a user