diff --git a/lib/assets-builder-config.js b/lib/assets-builder-config.js index f5ee059..d156f87 100644 --- a/lib/assets-builder-config.js +++ b/lib/assets-builder-config.js @@ -36,7 +36,7 @@ function checkConfig(config,callback) { function fillDefaults(config,callback) { if (config.buildOrder === undefined) { - config.buildOrder = Object.keys(config.assets); + config.buildOrder = template.buildOrder; } if (config.configFill === undefined) { config.configFill = template.configFill;