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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy