| .. | ||
| README.md | ||
An example of a fully functional Next.js deployment to AWS can be found here.
You can see it in action on AWS here.
The key part is its next.config.js configuration:
module.exports = {
engine: 'aws',
debug: true,
bucketName: 'next-deploy-demo-bucket',
description: {
requestLambda: 'Next deploy demo request lambda.',
},
name: {
requestLambda: 'request-handler-demo',
},
stage: {
name: 'demo',
versioned: true,
bucketName: 'next-deploy-demo-environments',
},
};