From 4372819de1b95cbc4de24b590a29785cfc7a98ea Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Mon, 5 Jun 2017 14:01:19 +0200 Subject: [PATCH] libIdent should be rootModule --- lib/optimize/ConcatenatedModule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/optimize/ConcatenatedModule.js b/lib/optimize/ConcatenatedModule.js index 5a09da769b9..e11aaefdbfd 100644 --- a/lib/optimize/ConcatenatedModule.js +++ b/lib/optimize/ConcatenatedModule.js @@ -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() {