Comments (3)
@kyo-ago I found the root-cause: dependency-cruiser doesn't support .tsx
(or .jsx
) yet - and that's what the import in renderer.ts
resolves to (./process/renders/main/ui/render.tsx
- thanks for providing the link to your project!).
I've added support for .tsx
(and will look into jsx
support later on) in version 2.4.1
- by the time you read this it will probably have been released on npmjs.org.
Please let me know whether this indeed resolved your issue
from dependency-cruiser.
Hi @kyo-ago, thanks for reporting this!
I'll investigate & come back to you
from dependency-cruiser.
I confirmed the fix.
Thanks a lot!
from dependency-cruiser.
Related Issues (20)
- Question: How to use in monorepo project HOT 4
- Question: can I force dep-cruiser to resolve `.browser.js` files over regular `.js` files? HOT 12
- Question: How to configure for tsconfig path mapping in yarn monorepo? HOT 3
- Issue: Allowed rule to force use of aliased-tsconfig import HOT 26
- dependency-cruiser doesn't love yargs HOT 8
- Issue: dependency-cruise --init generates wrong regexes HOT 5
- Feature request: Consider TS `imports` with all `type` the same as `type-only`. HOT 4
- Unexpected Error: Unusual baseDir passed to package reading function HOT 4
- How to get `exit(1)` when errors occurred by running `depcruise -p src` in pre-commit hook? HOT 1
- Persistent error on npx depcruise --init HOT 2
- Issue: numberOfDependentsLessThan does not calculate dependents properly when index.ts is used inbetween HOT 5
- Feature request: Allow to have rules checking Typescript types but also rules that ignore Typescript types HOT 2
- Issue: false positive for couldNotResolve for type only package HOT 5
- Question: A dependency view of each "TYPE" or "INTERFACE" HOT 3
- Question: monorepo, combinedDependencies & not-dev-dep HOT 2
- Error: No "exports" main defined in <project_name>/node_modules/dependency-cruiser/package.json HOT 3
- What am I missing about rcdot? "'rcdot' is not a valid output type" HOT 2
- Issue: not-to-unresolvable return error when using typescript alias in module project HOT 2
- Why doesn't dependency-cruiser "ignore" my private-registry package like it does with node-modules? HOT 6
- Q: Dep Graph for each file HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dependency-cruiser.