Skip to content

Commit 803668f

Browse files
committed
dont run beforePrepareAllPlugins always, just when necessary
1 parent 13e9f2a commit 803668f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/tools/broccoli/node-modules-dest-copy.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ export class DestCopy implements IBroccoliPlugin {
6969
});
7070
}
7171
});
72-
73-
this.$pluginsService.beforePrepareAllPlugins().wait();
72+
if (!_.isEmpty(this.dependencies)) {
73+
this.$pluginsService.beforePrepareAllPlugins().wait();
74+
}
7475

7576
_.each(this.dependencies, dependency => {
7677
this.copyDependencyDir(dependency);

0 commit comments

Comments
 (0)