output: export
fix NEXT-928 ([link](https://linear.app/vercel/issue/NEXT-928))
next export
output: 'export'
fix NEXT-927 ([link](https://linear.app/vercel/issue/NEXT-927))
This adds a warning when `next export` and custom routes are defined outside of a platform that supports them since they won't be applied anymore.