summaryrefslogtreecommitdiff
path: root/examples/ssr/build.mjs
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2022-03-24 07:26:25 -0400
committerGravatar GitHub <noreply@github.com> 2022-03-24 07:26:25 -0400
commit5e52814d97a5723dbe7ebb32fbe040a7a4c0ea77 (patch)
treeb4cd5790933ad9829159314191487462bd5e9d2e /examples/ssr/build.mjs
parent5c96145527f9480e7b7b16b599f4b2091e41aa6c (diff)
downloadastro-5e52814d97a5723dbe7ebb32fbe040a7a4c0ea77.tar.gz
astro-5e52814d97a5723dbe7ebb32fbe040a7a4c0ea77.tar.zst
astro-5e52814d97a5723dbe7ebb32fbe040a7a4c0ea77.zip
Adapters v0 (#2855)
* Adapter v0 * Finalizing adapters * Update the lockfile * Add the default adapter after config setup is called * Create the default adapter in config:done * Fix lint error * Remove unused callConfigSetup * remove unused export * Use a test adapter to test SSR * Adds a changeset * Updated based on feedback * Updated the lockfile * Only throw if set to a different adapter * Clean up outdated comments * Move the adapter to an config option * Make adapter optional * Update the docs/changeset to reflect config API change * Clarify regular Node usage
Diffstat (limited to 'examples/ssr/build.mjs')
-rw-r--r--examples/ssr/build.mjs12
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/ssr/build.mjs b/examples/ssr/build.mjs
deleted file mode 100644
index 168c3c55f..000000000
--- a/examples/ssr/build.mjs
+++ /dev/null
@@ -1,12 +0,0 @@
-import { execa } from 'execa';
-
-const api = execa('npm', ['run', 'dev-api']);
-api.stdout.pipe(process.stdout);
-api.stderr.pipe(process.stderr);
-
-const build = execa('pnpm', ['astro', 'build', '--experimental-ssr']);
-build.stdout.pipe(process.stdout);
-build.stderr.pipe(process.stderr);
-await build;
-
-api.kill();