mirror of https://github.com/webpack/webpack.git
Include resolvedModule in toString output
This commit is contained in:
parent
1c1f784f7c
commit
041e04a9dd
|
|
@ -246,6 +246,7 @@ const SIMPLE_PRINTERS = {
|
||||||
"moduleReason.module": (module, { magenta }) => magenta(module),
|
"moduleReason.module": (module, { magenta }) => magenta(module),
|
||||||
"moduleReason.loc": loc => loc,
|
"moduleReason.loc": loc => loc,
|
||||||
"moduleReason.explanation": (explanation, { cyan }) => cyan(explanation),
|
"moduleReason.explanation": (explanation, { cyan }) => cyan(explanation),
|
||||||
|
"moduleReason.resolvedModule": (module, { magenta }) => magenta(module),
|
||||||
|
|
||||||
"module.profile.total": (value, { formatTime }) => formatTime(value),
|
"module.profile.total": (value, { formatTime }) => formatTime(value),
|
||||||
"module.profile.resolving": (value, { formatTime }) =>
|
"module.profile.resolving": (value, { formatTime }) =>
|
||||||
|
|
@ -510,7 +511,8 @@ const PREFERED_ORDERS = {
|
||||||
"moduleId",
|
"moduleId",
|
||||||
"module",
|
"module",
|
||||||
"loc",
|
"loc",
|
||||||
"explanation"
|
"explanation",
|
||||||
|
"resolvedModule"
|
||||||
],
|
],
|
||||||
"module.profile": [
|
"module.profile": [
|
||||||
"total",
|
"total",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue