-
-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Labels
Description
After upgrading to Encore 0.21, I received the error below. I was able to resolve it with:
const config = Encore.getWebpackConfig();
config.resolve.extensions.unshift(".mjs");
but this should really be added by default since webpack adds it by default
$ encore dev
Running webpack ...
ERROR Failed to compile with 175 errors 8:01:37 PM
error in ./node_modules/graphql/index.mjs
Can't reexport the named export 'BREAK' from non EcmaScript module (only default export is available)
error in ./node_modules/graphql/index.mjs
Can't reexport the named export 'BreakingChangeType' from non EcmaScript module (only default export is available)
error in ./node_modules/graphql/index.mjs