relay-tools / relay-hooks

Use Relay as React hooks
https://relay-tools.github.io/relay-hooks/docs/relay-hooks.html
MIT License
542 stars 56 forks source link

Support webpack 5 & relay-hooks 5.x (ESM) #195

Closed morrys closed 2 years ago

morrys commented 2 years ago

This problem is solved by replacing "import as" with "import " in compiled files ( also tested with webpack 4 )

@n1ru4l, @cedrickring, @stan-sack I will soon release version 5.0.1 with this change

stan-sack commented 2 years ago

:pray: