summaryrefslogtreecommitdiff
path: root/examples/ssr/astro.config.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/astro.config.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/astro.config.mjs')
-rw-r--r--examples/ssr/astro.config.mjs2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/ssr/astro.config.mjs b/examples/ssr/astro.config.mjs
index 481576db1..f6aba20ce 100644
--- a/examples/ssr/astro.config.mjs
+++ b/examples/ssr/astro.config.mjs
@@ -1,8 +1,10 @@
import { defineConfig } from 'astro/config';
import svelte from '@astrojs/svelte';
+import nodejs from '@astrojs/node';
// https://astro.build/config
export default defineConfig({
+ adapter: nodejs(),
integrations: [svelte()],
vite: {
server: {