mercurius-js / mercurius-upload

graphql-upload implementation plugin for Fastify & mercurius
https://mercurius.dev/
MIT License
27 stars 10 forks source link

ESM support. #16

Closed lukasholzer closed 1 year ago

lukasholzer commented 1 year ago

Is there a plan to introduce ESM (ECMAScript Module) support? The new version 16 of graphql-upload, which is a dependent is already in ESM and therefore not working with this version.

qlaffont commented 1 year ago

To fix this, I have put on my package.json


  "pnpm": {
    "overrides": {
      "fs-capacitor": "6.2.0"
    }
  },

AND

"dependencies": {
    "graphql-upload": "^15.0.2"
}