0
Fork 0
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:
Emanuele Stoppa 2024-12-20 14:57:42 +00:00 committed by GitHub
parent f8da27892b
commit 9c661f5ced
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.",
);
}