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.
1 parent d62e137 commit 2091408Copy full SHA for 2091408
1 file changed
tests/js/rollup.config.js
@@ -19,4 +19,15 @@ export default {
19
),
20
}),
21
],
22
+ onwarn: function (warning) {
23
+ // Skip certain warnings
24
+
25
+ // should intercept ... but doesn't in some rollup versions
26
+ if (warning.code === "THIS_IS_UNDEFINED") {
27
+ return;
28
+ }
29
30
+ // console.warn everything else
31
+ console.warn(warning.message);
32
+ },
33
};
0 commit comments