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 821f02e commit 70da3fbCopy full SHA for 70da3fb
rollup.config.mjs
@@ -59,6 +59,12 @@ function esmConfig() {
59
`Circular dependency:\n${log.ids.map((id) => ' ' + id).join('\n')}\n`
60
);
61
throw new Error(`Circular dependencies are forbidden`);
62
+ case 'EMPTY_BUNDLE':
63
+ // Some of our entrypoints are type-only and result in empty bundles.
64
+ // We prune the actual empty files elsewhere in this config (see
65
+ // pruneEmptyBundles). This silences the warning from rollup about
66
+ // them.
67
+ return;
68
default:
69
handler(level, log);
70
}
0 commit comments