Skip to content

Commit

Permalink
fix: restore modules property of ConcatenatedModule (fixes #5477)
Browse files Browse the repository at this point in the history
  • Loading branch information
kisenka committed Aug 11, 2017
1 parent 7a36951 commit 3d272ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/optimize/ConcatenatedModule.js
Expand Up @@ -214,7 +214,9 @@ class ConcatenatedModule extends Module {
}

get modules() {
return this._orderedConcatenationList.map(m => m.module);
return this._orderedConcatenationList
.filter(info => info.type === "concatenated")
.map(info => info.module);
}

identifier() {
Expand Down

0 comments on commit 3d272ac

Please sign in to comment.