Current behavior:
Have just upgraded to version 5.0.0 and it looks like there is a webpack config issue, missing *.mjs support, which is causing the @aws-amplify and graphql libraries from compiling. This worked in 4.12.1
aws-amplify/amplify-js#4299
graphql/graphql-js#1272
Error: Webpack Compilation Error
./node_modules/graphql/index.mjs 49:0-53:205
Can't reexport the named export 'BREAK' from non EcmaScript module (only default export is available)
@ ./node_modules/@aws-amplify/pubsub/lib-esm/Providers/AWSAppSyncRealTimeProvider.js
@ ./node_modules/@aws-amplify/pubsub/lib-esm/Providers/index.js
@ ./node_modules/@aws-amplify/pubsub/lib-esm/index.js
@ ./node_modules/aws-amplify/lib-esm/index.js
@ ./cypress/support/custom/userLogin.ts
@ ./cypress/support/custom/index.ts
@ ./cypress/support/commands.ts
@ ./cypress/support/index.ts
Current behavior:
Have just upgraded to version 5.0.0 and it looks like there is a webpack config issue, missing *.mjs support, which is causing the @aws-amplify and graphql libraries from compiling. This worked in 4.12.1
aws-amplify/amplify-js#4299
graphql/graphql-js#1272