Skip to content

Add AWS serverless build output and isolate client route modules#5

Draft
PatriciaJacob wants to merge 1 commit intomainfrom
codex/make-framework-output-serverless
Draft

Add AWS serverless build output and isolate client route modules#5
PatriciaJacob wants to merge 1 commit intomainfrom
codex/make-framework-output-serverless

Conversation

@PatriciaJacob
Copy link
Copy Markdown
Owner

Summary

  • add an AST-based client transform that strips server-only route loaders and imports from browser bundles
  • generate native Lambda SSR output plus AWS deployment artifacts for S3, CloudFront, and Lambda routing
  • replace the production Express server with a minimal Node HTTP server that reuses the SSR runtime
  • move build-time tooling such as Vite, TypeScript, and esbuild to devDependencies
  • document the AWS deployment outputs in the README

Testing

  • npm run build
  • invoke generated dist/server/lambda-handler.js for /user-profile
  • invoke generated dist/server/lambda-handler.js for /__matcha_props?path=%2Fuser-profile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant