mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
Update packages/astro/src/core/server-islands/vite-plugin-server-islands.ts
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
This commit is contained in:
parent
f8da27892b
commit
9c661f5ced
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ export function vitePluginServerIslands({ settings, logger }: AstroPluginOptions
|
|||
if (!settings.adapter) {
|
||||
logger.error(
|
||||
'islands',
|
||||
"You tried to use a server island without an adapter. This an error and your project won't build.",
|
||||
"You tried to render a server island without an adapter added to your project. An adapter is required to use the `server: defer` attribute on any component. Your project will fail to build unless you add an adapter or remove the attribute.",
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue