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

switch to esm-only with development condition enabling dev-instanceOf-check

Open yaacovCR opened this issue 6 months ago • 1 comments

Takes the no-op trick from #4426, but responding in a small way to feedback from @glasser in terms of discoverability, uses the development condition to enable this behavior by default.

The development condition must be passed to node via a flag node --conditions=development ... and is not set automatically from NODE_ENV=development.

yaacovCR avatar Jun 12 '25 23:06 yaacovCR

image

where we get the import-only warning, we are actually relying on esm-require

yaacovCR avatar Jun 12 '25 23:06 yaacovCR

Closing in favor of #4464

yaacovCR avatar Jul 29 '25 19:07 yaacovCR