From 7a408049cd2809020edcfdbfb72febeb64737a8d Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 21 Nov 2023 10:51:00 -0500 Subject: [PATCH] SSR Site --- examples/nextjs/Pulumi.yaml | 4 ---- examples/nextjs/components/NextJSSite.ts | 0 examples/nextjs/components/SsrSite.ts | 1 + examples/nextjs/sst.config.ts | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 examples/nextjs/Pulumi.yaml delete mode 100644 examples/nextjs/components/NextJSSite.ts create mode 100644 examples/nextjs/components/SsrSite.ts diff --git a/examples/nextjs/Pulumi.yaml b/examples/nextjs/Pulumi.yaml deleted file mode 100644 index bd49fc543..000000000 --- a/examples/nextjs/Pulumi.yaml +++ /dev/null @@ -1,4 +0,0 @@ -name: nextjs -runtime: nodejs -backend: - url: 's3://sst-bootstrap-a4ff42d8-0699-4f7a-be4d-5508d3e16e66-us-east-1' diff --git a/examples/nextjs/components/NextJSSite.ts b/examples/nextjs/components/NextJSSite.ts deleted file mode 100644 index e69de29bb..000000000 diff --git a/examples/nextjs/components/SsrSite.ts b/examples/nextjs/components/SsrSite.ts new file mode 100644 index 000000000..c0ce2c75f --- /dev/null +++ b/examples/nextjs/components/SsrSite.ts @@ -0,0 +1 @@ +export class SsrSite extends util.ComponentResource {} diff --git a/examples/nextjs/sst.config.ts b/examples/nextjs/sst.config.ts index 655b26aad..4887b2b6b 100644 --- a/examples/nextjs/sst.config.ts +++ b/examples/nextjs/sst.config.ts @@ -8,6 +8,6 @@ export default { }; }, async run() { - const { SSRSite } = await import("./components/NextJSSite"); + const { SsrSite } = await import("./components/SsrSite.ts"); }, };