npm @serverless-stack/cli 1.4.0
v1.4.0

latest releases: 1.18.4, 1.18.3, 1.18.2...
2 years ago

Launching RemixSite

It lets you deploy Remix apps to AWS with ease!

new RemixSite(stack, "Site", {
  path: "my-remix-app/"
});

Similar to other SST Site constructs, you can configure:

  • Custom domains;
  • Environment variables, so you can reference AWS resources in Remix loaders/actions with process.env.API_URL

Learn more https://docs.sst.dev/constructs/RemixSite

🌐 Single-Region vs Edge

RemixSite offers two deployment modes: Single-Region and Edge. Single-Region is the default behavior, and likely the better choice for your setup. If you want to deploy to Edge in spite of watching the Ending edge function hype video, enable the edge flag, and the Remix app server will be deployed to Lambda@Edge.

new RemixSite(stack, "Site", {
  path: "my-remix-app/",
  edge: true,
});

🗓️ Launch Live Stream

We will be hosting a live event on July 19th at 9am PDT. We'll be diving into the details of RemixSite, and answering some questions from the community.

https://www.youtube.com/watch?v=ZBbRZTTCwvU

Set a reminder!

🙌 Hugs

Finally, big hugs to @ctrlplusb. Sean's awesome PR taught me all about Remix; how the server is bundled; and how to wrap the bundle into a Lambda function - #1800

Changes


Update using:

$ npx sst update v1.4.0
$ yarn sst update v1.4.0

Don't miss a new cli release

NewReleases is sending notifications on new releases.