I'm using this repo to even run react-native-web. When i try to run, i'm getting the below mentioned error. After searching for the solution, few suggested to add some code to the webpack.config, so that browser can understand.
I think Toast might not be available for browser due to which it's failing. Can you please help me with the issue.
/node_modules/galio-framework/src/Toast.js 11:19 Module parse failed: Unexpected token (11:19)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| class Toast extends Component {
Hi Team,
I'm using this repo to even run react-native-web. When i try to run, i'm getting the below mentioned error. After searching for the solution, few suggested to add some code to the webpack.config, so that browser can understand.
I think Toast might not be available for browser due to which it's failing. Can you please help me with the issue.
/node_modules/galio-framework/src/Toast.js 11:19 Module parse failed: Unexpected token (11:19) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | | class Toast extends Component {
static propTypes = { | children: PropTypes.node.isRequired, | isShow: PropTypes.bool.isRequired,