Closed
Description
While working on optimising the bundling of https://github.com/graphql/swapi-graphql — for reasons1 — I discovered that it was import
ing things from graphql-relay-js
, but that the latter, unlike graphql-js
, only had a CommonJS entry point published to npm.
It might be desirable to add an ES module build target to this package, modeled on what graphql-js
is already doing.
1 See https://twitter.com/motiz88/status/985110696668131328 - I'm investigating the claim that schema execution on the front-end is impractical due to graphql-js
's footprint in terms of bundle size. swapi-graphql
simply happens to be a good, accessible testbed for just that (thanks @IvanGoncharov for the tip! 🙏)
Metadata
Metadata
Assignees
Labels
No labels