You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ node gm.mjs
(node:27782) ExperimentalWarning: The ESM module loader is experimental.
file:///home/dandv/gm.mjs:1
import { GraphQLModule } from '@graphql-modules/core';
^^^^^^^^^^^^^
SyntaxError: The requested module '@graphql-modules/core' does not provide an export named 'GraphQLModule'
The text was updated successfully, but these errors were encountered:
ardatan
changed the title
Support ES Modules
Support NodeJS ES Modules
Apr 12, 2020
@dandv if you want to help push this forward quicker, the best place to start is making graphql.js compatible with it.
Here is a start: graphql/graphql-js#2487
I'm trying to use named imports from
.mjs
files now that modules are no longer experimental and running into the same issue thatgraphql-tools
had:gm.mjs
The text was updated successfully, but these errors were encountered: