You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran into a rare edge case where madge is resolving ./package.js and package (from npm) to be the same. This gave me weird cyclic dependencies when there were actually none.
This is in the context of a Typescript codebase strictly using ES6 syntax.
The text was updated successfully, but these errors were encountered:
I'm having the same issue. I have a file src/mocks/msw.ts that is importing the node module msw (./node_modules/msw/lib/index) and is producing a false positive for a circular import.
If I rename the file to mswSetup.ts no circular dependencies are reported.
I just ran into a rare edge case where
madge
is resolving./package.js
andpackage
(from npm) to be the same. This gave me weird cyclic dependencies when there were actually none.This is in the context of a Typescript codebase strictly using ES6 syntax.
The text was updated successfully, but these errors were encountered: