Closed dhowe closed 5 months ago
This doesn't seem to cause any problems, besides being annoying. But here's a workaround for anyone using rollup (in rollup.config.js):
const onwarn = warning => {
// Silence circular dependency warning for chevrotain
if (warning.code === 'CIRCULAR_DEPENDENCY'
&& warning.ids.every(id => id.includes('chevrotain'))) {
return;
}
console.warn(`(!) ${warning.message}`);
}
export default [{
onwarn,
...
Thanks for the workaround @dhowe
As this will require too much effort to resolve relative to the trivial impact I will be closing this issue.
I'm trying to use rollup(v4.1.4) to build a js project for various environments and get the following warnings whenever I include chevrotain (@11.0.3):