diff --git a/.changeset/smooth-panthers-heal.md b/.changeset/smooth-panthers-heal.md new file mode 100644 index 000000000000..009db7e38e40 --- /dev/null +++ b/.changeset/smooth-panthers-heal.md @@ -0,0 +1,5 @@ +--- +'astro': minor +--- + +`astro add` no longer automatically sets `output: 'server'`. Since the default value of output now allows for server-rendered pages, it no longer makes sense to default to full server builds when you add an adapter diff --git a/packages/astro/src/cli/add/index.ts b/packages/astro/src/cli/add/index.ts index 7866f5a093ab..4f98b2d22f05 100644 --- a/packages/astro/src/cli/add/index.ts +++ b/packages/astro/src/cli/add/index.ts @@ -463,10 +463,6 @@ export function setAdapter( }); } - if (!config.output) { - config.output = 'server'; - } - switch (adapter.id) { case 'node': config.adapter = builders.functionCall(adapterId, { mode: 'standalone' });