diff --git a/.changeset/curvy-comics-smash.md b/.changeset/curvy-comics-smash.md new file mode 100644 index 000000000000..09c8f30bd06c --- /dev/null +++ b/.changeset/curvy-comics-smash.md @@ -0,0 +1,5 @@ +--- +'@astrojs/vercel': patch +--- + +Set SSR target webworker diff --git a/packages/integrations/vercel/src/edge/adapter.ts b/packages/integrations/vercel/src/edge/adapter.ts index 72001be99ad2..971aa8eae278 100644 --- a/packages/integrations/vercel/src/edge/adapter.ts +++ b/packages/integrations/vercel/src/edge/adapter.ts @@ -44,6 +44,7 @@ export default function vercelEdge(): AstroIntegration { } vite.ssr = { + target: 'webworker', noExternal: true, }; }