It is a huge problem, and will make code unexecutable after "rolling up".
The rollup process will convert commonjs deps into "static imports", which do not support circular dependencies.
Then it will end up with a flat hierarchy where there's a reference to a (yet) undefined variable.
Rollup spits those out:
It is a huge problem, and will make code unexecutable after "rolling up". The rollup process will convert commonjs deps into "static imports", which do not support circular dependencies. Then it will end up with a flat hierarchy where there's a reference to a (yet) undefined variable.