Skip to content

Commit 3275fa0

Browse files
committed
fix(bundle): remove bundling.
1 parent b92b236 commit 3275fa0

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

lib/broccoli/angular-broccoli-bundle.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,8 @@ class BundlePlugin extends Plugin {
1616
build() {
1717
var relativeRoot = path.relative(process.cwd(), this.inputPaths[0]);
1818
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-
minify: true
26-
}))
19+
20+
return builder.bundle('main', `${this.outputPath}/main.js`, { minify: true })
2721
.then(() => fse.copySync(`${this.inputPaths[0]}/system-config.js`,
2822
`${this.outputPath}/system-config.js`));
2923
}

0 commit comments

Comments
 (0)