We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92b236 commit 3275fa0Copy full SHA for 3275fa0
lib/broccoli/angular-broccoli-bundle.js
@@ -16,14 +16,8 @@ class BundlePlugin extends Plugin {
16
build() {
17
var relativeRoot = path.relative(process.cwd(), this.inputPaths[0]);
18
var builder = new Builder(relativeRoot, `${relativeRoot}/system-config.js`);
19
- return builder.bundle('main - [app/**/*]',
20
- `${this.outputPath}/main.js`, {
21
- minify: true
22
- })
23
- .then(() => builder.bundle('app - (app/**/*.js - [app/**/*.js])',
24
- `${this.outputPath}/app/index.js`, {
25
26
- }))
+
+ return builder.bundle('main', `${this.outputPath}/main.js`, { minify: true })
27
.then(() => fse.copySync(`${this.inputPaths[0]}/system-config.js`,
28
`${this.outputPath}/system-config.js`));
29
}
0 commit comments