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
My React Native project is written in ReScript, and I'm compiling *.res files into *.mjs files. I configured the addon-react-native-web to my existing React Native project (native cli) by following the documentation. When I run yarn storybook, I get an error that there is no loader for all *.res files in the project. I don't understand why storybook is trying to parse *.res files other than the file types it defines. Is there any way to ignore certain file types?
ERROR in ./src/App.resi 1:0
Module parse failed: Unexpected character '@' (1:0)
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
> @react.component
| let make: unit => React.element
|
ERROR in ./src/App.res 1:5
Module parse failed: Unexpected token (1:5)
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
> open ReactNative
| open BottomSheet
...
My React Native project is written in ReScript, and I'm compiling *.res files into *.mjs files. I configured the
addon-react-native-web
to my existing React Native project (native cli) by following the documentation. When I runyarn storybook
, I get an error that there is no loader for all *.res files in the project. I don't understand why storybook is trying to parse *.res files other than the file types it defines. Is there any way to ignore certain file types?./storybook/main.js
The text was updated successfully, but these errors were encountered: