graphql-request icon indicating copy to clipboard operation
graphql-request copied to clipboard

Vite3 error: "TypeError: distExports is not a function"

Open re2005 opened this issue 1 year ago • 0 comments

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

re2005 avatar Jul 20 '22 13:07 re2005