Skip to content

Commit 821f02e

Browse files
committed
enforce no more cycles
1 parent 1d2ec22 commit 821f02e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

rollup.config.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@ function esmConfig() {
5858
process.stderr.write(
5959
`Circular dependency:\n${log.ids.map((id) => ' ' + id).join('\n')}\n`
6060
);
61-
break;
62-
case 'CYCLIC_CROSS_CHUNK_REEXPORT':
63-
case 'EMPTY_BUNDLE':
64-
break;
61+
throw new Error(`Circular dependencies are forbidden`);
6562
default:
6663
handler(level, log);
6764
}

0 commit comments

Comments
 (0)