Skip to content

Commit 083843e

Browse files
committed
remove code that pushes arrays of dependencies into dependencies
the actua dep population is done in lines 155-159
1 parent 2ba0499 commit 083843e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/optimize/ConcatenatedModule.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class ConcatenatedModule extends Module {
143143
this.cacheable = modules.every(m => m.cacheable);
144144
const modulesSet = new Set(modules);
145145
this.reasons = rootModule.reasons.filter(reason => !modulesSet.has(reason.module));
146-
this.dependencies = [].concat.apply([], modules.map(m => m.dependencies.filter(dep => !modulesSet.has(dep.module))));
146+
this.dependencies = [];
147147
this.meta = rootModule.meta;
148148
this.dependenciesWarnings = modules.reduce((w, m) => m.dependenciesWarnings.forEach(x => w.push(x)), []);
149149
this.dependenciesErrors = modules.reduce((w, m) => m.dependenciesErrors.forEach(x => w.push(x)), []);

0 commit comments

Comments
 (0)