xstate-codegen
xstate-codegen copied to clipboard
Doesn't work with Snowpack
Hey! I love your work at this package!
It doesn't seem to work with Snowpack. I'm getting this error:
SyntaxError: The requested module '../../../../../_snowpack/pkg/@xstate/compiled/react.js' does not provide an export named 'useMachine'
I think you will need to investigate the problem by yourself. This tool is not doing anything special, so it's likely a problem in Snowpack. Maybe open an issue with them to help you out?
Okey, I'll try to figure it out on a snowpack side. Thanks!