mirror of https://github.com/webpack/webpack.git
hide loaders in HMR log message
This commit is contained in:
parent
bcde519509
commit
066b0ace51
|
|
@ -20,6 +20,9 @@ module.exports = function(updatedModules, renewedModules) {
|
||||||
} else {
|
} else {
|
||||||
log("info", "[HMR] Updated modules:");
|
log("info", "[HMR] Updated modules:");
|
||||||
renewedModules.forEach(function(moduleId) {
|
renewedModules.forEach(function(moduleId) {
|
||||||
|
if(moduleId.lastIndexOf) {
|
||||||
|
moduleId = moduleId.substring(moduleId.lastIndexOf("!") + 1);
|
||||||
|
}
|
||||||
log("info", "[HMR] - " + moduleId);
|
log("info", "[HMR] - " + moduleId);
|
||||||
});
|
});
|
||||||
var numberIds = renewedModules.every(function(moduleId) {
|
var numberIds = renewedModules.every(function(moduleId) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue