We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13b80be commit 0f65643Copy full SHA for 0f65643
lib/Stats.js
@@ -106,6 +106,7 @@ class Stats {
106
if (item && typeof item === "object" && typeof item.test === "function")
107
return ident => item.test(ident);
108
if (typeof item === "function") return item;
109
+ if (typeof item === "boolean") return () => item;
110
};
111
112
const compilation = this.compilation;
0 commit comments