<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/18652330/38233858-9aa243e2-374e-11e8-9b46-a3a91d99ac61.png"><img src="https://user-images.githubusercontent.com/18652330/38233858-9aa243e2-374e-11e8-9b46-a3a91d99ac61.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">In the with-ant-design  example,  i think these file too big for production.  Is this a bug?</h3>
<h3 dir="auto">Can we optimize it?</h3>
<p dir="auto">changing response code in custom error page, not working.</p>
<p dir="auto">This is content in pages/_error.js file.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import React from 'react'

function Error(props) {
    return (
       &lt;div&gt;
             my custom page
      &lt;/div&gt;
    )
}

Error.getInitialProps = ({ req, res, err }) =&gt; {
     res.status = 200 // changing the response code here
     return {}
}"><pre class="notranslate"><code class="notranslate">import React from 'react'

function Error(props) {
    return (
       &lt;div&gt;
             my custom page
      &lt;/div&gt;
    )
}

Error.getInitialProps = ({ req, res, err }) =&gt; {
     res.status = 200 // changing the response code here
     return {}
}
</code></pre></div>
<p dir="auto">but status is always goes as 404. any suggestion?</p>