using warning.toString() instead of warning message, giving eg. the file using this, while circular dependencies are displayed the same

This commit is contained in:
Ralf Becker 2021-07-04 09:54:44 +02:00
parent c67ff8ed4b
commit 08e9798a6d

View File

@ -128,7 +128,7 @@ const config = {
// Custom warning handler to give more information about circular dependencies
onwarn: function(warning,warn) {
console.warn(warning.message || warning);
console.warn(warning.toString());
}
};