Skip to content

Commit c007895

Browse files
committed
silence rsvp warnings
1 parent 434fda0 commit c007895

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rollup.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ function esmConfig() {
5151
onLog(level, log, handler) {
5252
switch (log.code) {
5353
case 'CIRCULAR_DEPENDENCY':
54+
if (log.ids.some((id) => id.includes('node_modules/rsvp/lib/rsvp'))) {
55+
// rsvp has some internal cycles but they don't bother us
56+
return;
57+
}
5458
process.stderr.write(log.message + '\n');
5559
break;
5660
case 'CYCLIC_CROSS_CHUNK_REEXPORT':

0 commit comments

Comments
 (0)