-
-
Notifications
You must be signed in to change notification settings - Fork 12
Consuming @xstate/compiled/react in monorepo #47
Comments
In the branch Specifically, it means I import from |
Oh wait, I just noticed that |
I have figured an ugly workaround. In the
I am not sure how a proper solution should look like. |
Well, that wasn't the right workaround either. When I modified that machine it went haywire. So I ended up moving codegen execution to root. It will correctly output to root I suppose ultimately it's the right solution and documenting it should be good enough. |
OK, to fix this we should probably add a |
Yea, that could certainly help as well. |
@FredyC Here's a PR which might help with the above: |
Here is the minimal repo that shows this problem: https://github.com/FredyC/xstate-codegen-monorepo
I have no idea why it should be a problem considering
@xstate/compiled
exists in rootnode_modules
.The text was updated successfully, but these errors were encountered: