Skip to content

Commit baa6bf4

Browse files
committed
improved debug printing
1 parent c007895 commit baa6bf4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rollup.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ function esmConfig() {
5555
// rsvp has some internal cycles but they don't bother us
5656
return;
5757
}
58-
process.stderr.write(log.message + '\n');
58+
process.stderr.write(
59+
`Circular dependency:\n${log.ids.map((id) => ' ' + id).join('\n')}\n`
60+
);
5961
break;
6062
case 'CYCLIC_CROSS_CHUNK_REEXPORT':
6163
case 'EMPTY_BUNDLE':

0 commit comments

Comments
 (0)