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.
2 parents e248bf0 + a1d909a commit 5b7e41dCopy full SHA for 5b7e41d
src/lib/webpack/run-webpack.js
@@ -136,7 +136,7 @@ export function writeJsonStats(stats) {
136
function strip(stats) {
137
stats.modules.forEach(stripLoaderFromModuleNames);
138
stats.chunks.forEach(c => {
139
- (c.mapModules!=null ? c.mapModules(Object) : c.getModules()).forEach(stripLoaderFromModuleNames);
+ (c.modules || (c.mapModules!=null ? c.mapModules(Object) : c.getModules())).forEach(stripLoaderFromModuleNames);
140
});
141
if (stats.children) stats.children.forEach(strip);
142
}
0 commit comments