diff options
author | 2022-03-24 07:26:25 -0400 | |
---|---|---|
committer | 2022-03-24 07:26:25 -0400 | |
commit | 5e52814d97a5723dbe7ebb32fbe040a7a4c0ea77 (patch) | |
tree | b4cd5790933ad9829159314191487462bd5e9d2e /examples/ssr/astro.config.mjs | |
parent | 5c96145527f9480e7b7b16b599f4b2091e41aa6c (diff) | |
download | astro-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.mjs | 2 |
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: { |