diff --git a/lib/broccoli/angular-broccoli-bundle.js b/lib/broccoli/angular-broccoli-bundle.js index b00b4426ebf6..d4009a78d141 100644 --- a/lib/broccoli/angular-broccoli-bundle.js +++ b/lib/broccoli/angular-broccoli-bundle.js @@ -17,7 +17,7 @@ class BundlePlugin extends Plugin { var relativeRoot = path.relative(process.cwd(), this.inputPaths[0]); var builder = new Builder(relativeRoot, `${relativeRoot}/system-config.js`); - return builder.bundle('main', `${this.outputPath}/main.js`, { minify: true }) + return builder.buildStatic('main', `${this.outputPath}/main.js`, { minify: true, format: 'global' }) .then(() => fse.copySync(`${this.inputPaths[0]}/system-config.js`, `${this.outputPath}/system-config.js`)); }