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
To resolve this issue, developer have to add .mjs in the top extensions section of webpack.common.js like extensions: [".mjs", ".ts", ".tsx", ".js", ".jsx"].
Amplify is a major platform to deploy a React app. Thus .mjs should be automatically added in the top of extension section of a webpack configuration.
Todo
Add .mjs in the top of extensions section of webpack.common.js
The text was updated successfully, but these errors were encountered:
Currently if
aws-amplify
is added, then this (Compile error with webpack 4) issue will be occurred.To resolve this issue, developer have to add
.mjs
in the top extensions section ofwebpack.common.js
likeextensions: [".mjs", ".ts", ".tsx", ".js", ".jsx"]
.Amplify is a major platform to deploy a React app. Thus
.mjs
should be automatically added in the top of extension section of awebpack
configuration.Todo
.mjs
in the top ofextensions
section ofwebpack.common.js
The text was updated successfully, but these errors were encountered: