Which part of TSDX displays "Circular dependency" warnings in builds? #906
-
Hey there. I'm working on refactoring a large project and unfortunately, there are a couple of files with circular dependencies. I've done my homework on why this is bad and why I need to remove this eventually. But for now, I've ordered the initialization, import, and export parts to make the circularly dependent files work correctly. However, for understanding why a correctly working code still generates build warnings, can you point out where (TypeScript/Babel/Rollup/etc) these "Circular Dependency" warnings are being created in TSDX? I am using TSDX version 0.14.0. Please find the complete devDependencies list below: {
"@size-limit/preset-small-lib": "^4.6.0",
"@types/lodash.flatten": "^4.4.6",
"husky": "^4.3.0",
"size-limit": "^4.6.0",
"tsdx": "^0.14.0",
"tslib": "^2.0.1",
"typescript": "^3.9.3"
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Good question, off the top my head I'd guess that to be Rollup as it's usually the one giving warnings like that. Looked that up and indeed looks like Rollup. Aside: also looks like GitHub Discussions doesn't support templates... the issue templates are quite useful. |
Beta Was this translation helpful? Give feedback.
Good question, off the top my head I'd guess that to be Rollup as it's usually the one giving warnings like that.
Looked that up and indeed looks like Rollup.
Aside: also looks like GitHub Discussions doesn't support templates... the issue templates are quite useful.