graphql-request
graphql-request copied to clipboard
Vite3 error: "TypeError: distExports is not a function"
Using graphql-request
on a recently updates Vite3 project.
On Vite 2x it works normally. but when updated to 3x. Facing this error:
TypeError: distExports is not a function
node 16x graphql-request: 4.3.0 npm 8.5.0