We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96150c0 commit 5f856ecCopy full SHA for 5f856ec
lib/Stats.js
@@ -175,6 +175,7 @@ Stats.prototype.toJson = function toJson(options, forToString) {
175
if(showChunkOrigins) {
176
obj.origins = chunk.origins.map(function(origin) {
177
return {
178
+ moduleId: origin.module ? origin.module.id : undefined,
179
module: origin.module ? origin.module.identifier() : "",
180
loc: origin.loc ? obj.loc = origin.loc.start.line + ":" + origin.loc.start.column + "-" +
181
(origin.loc.start.line != origin.loc.end.line ? origin.loc.end.line + ":" : "") + origin.loc.end.column : "",
0 commit comments