Skip to content

Commit

Permalink
Merge pull request webpack#5005 from webpack/bugfix/scope-hoisting-li…
Browse files Browse the repository at this point in the history
…bIdent

libIdent should be rootModule
  • Loading branch information
sokra authored Jun 5, 2017
2 parents cc25ff6 + 4372819 commit 37c71ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/optimize/ConcatenatedModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class ConcatenatedModule extends Module {
}

libIdent(options) {
return this.modules.map(m => m.libIdent(options)).join(" ");
return this.rootModule.libIdent(options);
}

nameForCondition() {
Expand Down

0 comments on commit 37c71ea

Please sign in to comment.