title: Embed React web application into React Native WebView
body: <p>I have a monorepo where I have <code>web</code> and <code>mobile</code> apps (React and React Native respectively) and want to embed the web app into the mobile using <a href="https://github.com/react-native-webview/react-native-webview" rel="nofollow noreferrer">React Native WebView</a>.</p>
  <p>I read in docs that WebView <code>source</code> can be <a href="https://github.com/react-native-webview/react-native-webview/blob/master/src/WebViewTypes.ts#L241" rel="nofollow noreferrer">either file URL or static HTML page</a>, so it expects the passed source to be something like this:</p>
  <pre><code>&lt;WebView source={{ uri: 'https://my-web-app/' }} /&gt;
  </code></pre>
  <p>But what I have is only web app's <code>dist/</code> folder. Is there a way to pass <code>app.js</code> and <code>app.css</code> from the <code>dist/*</code> folder into WebView?</p>
  <p>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.</p>