Comments (2)
@revmischa can chime in. We had this discussion on the sst
discord. For me personally, I'm using sst
's NextjsSite
v2, which uses open-next
. That library has taken a lot of reference from what Mischa, et all has done. I've been testing and helping out w/ sst
's NextjsSite v2
to get it to a stable release. There's still some kinks to fix but it's pretty close to getting released.
from cdk-nextjs.
I was imagining that after open-next was created, this construct could make use of it and then SST would use cdk-nextjs. Then people could use open-next if they don't use CDK, they could use cdk-nextjs if they don't use SST, or they could use SST.
While Frank and SST have generously built and provided open-next to the community, they understandably are more concerned right now with applying it to SST and not CDK users at large, so open-next is directly used by SST at this point in time.
So our options are to maintain this construct for users of CDK who do not use SST, suggest to anyone that wants to use NextJS with CDK to avail themselves of SST as Mr. @khuezy has taken it upon himself to do, or rewrite this construct to make use of open-next.
Since open-next is still being worked on (my understanding is that next-auth doesn't work with it at present) I am continuing to use cdk-nextjs, but as I am an avid SST user I will probably switch to SST's NextjsSite
v2 at some near future date.
If there is interest is using CDK with NextJS without using SST then this module could be useful to some people. Ideally someone would rewrite it to use open-next for building. I am not especially inclined to do this myself.
from cdk-nextjs.
Related Issues (20)
- error: ValidationException: 1 validation error detected: Value null at 'tableName' failed to satisfy constraint: Member must not be null HOT 8
- Refactor custom domain logic to make actions more explicit and/or flexible HOT 9
- 403 on previous assets during deployment HOT 4
- Issue with deploying stacks with --exclusive flag
- Page with getStaticProps gets an invalid url error HOT 6
- Consider using native `node:crypto` to sign requests in sign-fn-url HOT 1
- Windows - Bundling fails due to wrong shell usage HOT 1
- CustomCDKBucketDeployment lambda - Exited with SIGKILL 9 HOT 8
- Cannot find package 'next' imported from /var/task/index.mjs" HOT 19
- bug: cdk destroy fails when open-next build is not present HOT 2
- Feature Request: Support GovCloud By Providing Option to Replace CloudFront with Api Gateway
- Upgrade to open-next v3
- Fix: Usage with PNPM on Windows
- Docs: Update README and examples/
- Skip creation of A and AAAA Records HOT 5
- When deploying the Distribution the CachePolicy creation returns 400 Bad request HOT 1
- Limit exceeded for resource of type 'AWS::CloudFront::ResponseHeadersPolicy' when deploying multiple sites
- NextjsServerOverrides.nextjsBucketDeploymentProps should be typed as optional
- Feature Request: Support for non us-east-1 regions and signed requests with lambda@edge function HOT 2
- Multi-tenant deploy error (CloudFront HTTP 409) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdk-nextjs.