Ensure /404 is not exported during build un-necessarily (#22825)
This ensures we don't export `/404` during the automatic static optimization during build when the `/404` isn't static and won't be used/copied to the final output. x-ref: https://github.com/vercel/next.js/issues/22815
Showing
Please
register
or
sign in
to comment