I have a monorepo where I have web and mobile apps (React and React Native respectively) and want to embed the web app into the mobile using React Native WebView.
I read in docs that WebView source can be either file URL or static HTML page, so it expects the passed source to be something like this:
<WebView source={{ uri: 'https://my-web-app/' }} />
But what I have is only web app's dist/ folder. Is there a way to pass app.js and app.css from the dist/* folder into WebView?
I'm also assuming that maybe Metro bundler could create some HTML page using those files and then that page would be passed to the WebView, but not quite sure if that's possible.