Articles
-
Pull request previews with S3 and CloudFront
How to give every PR of a single-page application its own preview URL, with one S3 bucket, one CloudFront distribution and a cookie. No environment to spin up, no limit on parallel previews.
-
Runtime configuration with Vite and CloudFront
How to move from build-time to runtime environment variable injection with a custom Vite plugin and a CloudFront behavior, without any additional dependency. Build once, deploy everywhere.