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 1423616e00
commit dd020f6f4c

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());
}
};