diff --git a/tools/bundler.js b/tools/bundler.js index 8710f3942f..aebe16dcc1 100644 --- a/tools/bundler.js +++ b/tools/bundler.js @@ -365,7 +365,7 @@ _.extend(Target.prototype, { // - test: packages to test (Package or 'foo'), per _determineLoadOrder // - minify: true to minify // - assetDirs: array of asset directories to add (browser only for - // now) object with keys 'rootDir', 'exclude', + // now) object with keys 'rootDir', 'exclude', 'assetPathPrefix' // all per addAssetDir. // - addCacheBusters: if true, make all files cacheable by adding // unique query strings to their URLs. unlikely to be of much use @@ -393,7 +393,7 @@ _.extend(Target.prototype, { // Process asset directories (eg, /public) // XXX this should probably be part of the appDir reader _.each(options.assetDirs || [], function (ad) { - self.addAssetDir(ad.rootDir, ad.exclude); + self.addAssetDir(ad.rootDir, ad.exclude, ad.assetPathPrefix); }); if (options.addCacheBusters) {