fafa16f350
As discussed this adds bundling of `.env` files in `serverless` mode so that the environment values are also available when deploying with this target closes: https://github.com/zeit/next.js/issues/13332
14 lines
254 B
JavaScript
14 lines
254 B
JavaScript
module.exports = {
|
|
// update me
|
|
experimental: {
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: '/hello',
|
|
permanent: false,
|
|
destination: `/${process.env.NEXT_PUBLIC_TEST_DEST}`,
|
|
},
|
|
]
|
|
},
|
|
},
|
|
}
|