react-server
react-server copied to clipboard
feat: deploy / adapter / AWS Lambda
Adapter to deploy to AWS Lambda. Wraps the hattip middleware with a AWS Lambda specific handler. fix #30
Status with different Deployment Frameworks:
- [X] Serverless Framework V3
- [ ] sst V3 [^1] [^2]
- [X] AWS CDK [^3]
- deploy is possible but dev mode fails because it always tries to bundle the application. This fails with the excluded
/create-logger.mjs
and cannot handle the native libs forfsevents
andlightningcss
- I suggest to build a specific stack with dev server handling similar to [sst/ ion remix stack[(https://github.com/sst/ion/blob/b9c9760259ebcd4419dc15679ebdbc61babc517f/platform/src/components/aws/remix.ts)
- works, but function bundling needs to be deactivated