Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SvelteKit SSR zip example #561

Merged
merged 11 commits into from
Jan 8, 2025

Conversation

mxfactorial
Copy link
Contributor

Issue #, if available:

  • none

Description of changes:

demos how the adapter can deploy a ssr-enabled sveltekit app without monkey business

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mxfactorial mxfactorial requested a review from a team as a code owner January 1, 2025 21:36
@mxfactorial mxfactorial force-pushed the sveltekit-ssr-zip-example branch from e938fb6 to ebeee63 Compare January 1, 2025 21:45
@mxfactorial mxfactorial force-pushed the sveltekit-ssr-zip-example branch from ebeee63 to 4651035 Compare January 1, 2025 22:45
@bnusunny
Copy link
Contributor

bnusunny commented Jan 3, 2025

Thanks for this example!

One comment: since you have SAM template in this project, it's better to use Makefile to integrate the build process. You could take a look at the nextjs-zip example to see how it works.

Add the following to the function in the SAM template, and create a Makefile to invoke your build script.

    Metadata:
      BuildMethod: makefile

@mxfactorial
Copy link
Contributor Author

ready

@mxfactorial
Copy link
Contributor Author

adding one more commit in case a user isnt only using devDependencies

@mxfactorial mxfactorial force-pushed the sveltekit-ssr-zip-example branch from 02b09a0 to 9d56630 Compare January 3, 2025 16:43
@mxfactorial
Copy link
Contributor Author

missed a doc change after the makefile edit

adding a commit

ready

Copy link
Contributor

@bnusunny bnusunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bnusunny bnusunny merged commit 2868f54 into awslabs:main Jan 8, 2025
23 checks passed
@mxfactorial mxfactorial deleted the sveltekit-ssr-zip-example branch January 9, 2025 02:23
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.

2 participants