From dd020f6f4c1ce9418aa244e0db093cbad50a8974 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 4 Jul 2021 09:54:44 +0200 Subject: [PATCH] using warning.toString() instead of warning message, giving eg. the file using this, while circular dependencies are displayed the same --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 48f90651b9..e0a719a62e 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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()); } };