Skip to content

Commit

Permalink
feat(cdk): deploy Next.js Standalone Output to AWS using CDK
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj committed Aug 7, 2022
1 parent e4a1ec5 commit bd43222
Show file tree
Hide file tree
Showing 12 changed files with 2,337 additions and 55 deletions.
1 change: 1 addition & 0 deletions .eslintignore
@@ -1,3 +1,4 @@
cdk.out
dist
node_modules
public
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,7 +1,9 @@
.next
.vercel
cdk.out
dist
node_modules
sketch

.env
tsconfig.tsbuildinfo
4 changes: 4 additions & 0 deletions cdk.json
@@ -0,0 +1,4 @@
{
"app": "node -r @swc-node/register packages/cdk/bin.ts",
"context": {}
}
1 change: 1 addition & 0 deletions next.config.js
Expand Up @@ -29,6 +29,7 @@ module.exports = {
locales: ['en'],
localeDetection: false,
},
output: 'standalone',
swcMinify: true,
typescript: {
ignoreBuildErrors: true,
Expand Down

0 comments on commit bd43222

Please sign in to comment.