<h1 dir="auto">Examples bug report</h1>
<h2 dir="auto">Example name</h2>
<p dir="auto">with-firebase-authentication</p>
<h2 dir="auto">Describe the bug</h2>
<p dir="auto">It is not really a bug but a request for serverless implementation of with-firebase-authentication example. Currently, this example uses a custom server which makes it ineligible for deploying to a serverless environment. It would be very helpful if a serverless target version of this example could be provided.</p>
<h2 dir="auto">Additional context</h2>
<p dir="auto">A serverless target example will make the deployment of firebase projects very easy and also help as a good model for developers to migrate their projects from custom server to serverless. A guide along these lines would also be very helpful.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">I should have a way to copy files to root of <code class="notranslate">out</code> folder while doing <code class="notranslate">next export</code>. I thought about doing this in <code class="notranslate">exportPathMap</code> in <code class="notranslate">next.config.js</code> but I am not sure when <code class="notranslate">out</code> folder will be created for me to copy files.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">I could not find how to do this in docs, so, I am not sure if it is possible. Is there a standard way of doing this?</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">NA</p>
<h2 dir="auto">Context</h2>
<p dir="auto">I was trying to setup <a href="https://www.netlify.com/docs/redirects/" rel="nofollow">netlify redirect</a> and that requires me to place a <code class="notranslate">_redirects</code> file in the <code class="notranslate">out</code> folder. I am not clear yet on how to achieve that in the build step.</p>
<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>v4.2.3</td>
</tr>
<tr>
<td>node</td>
<td>v8.4.0</td>
</tr>
<tr>
<td>OS</td>
<td>MacOS high sierra 10.13.3</td>
</tr>
<tr>
<td>browser</td>
<td>63.0.3239.132</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table>