Skip to content

Commit

Permalink
Set SSR target webworker for Vercel edge (#4884)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Sep 27, 2022
1 parent 02d9123 commit 4964501
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/integrations/vercel/src/edge/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default function vercelEdge(): AstroIntegration {
}

vite.ssr = {
target: 'webworker',
noExternal: true,
};
}
Expand Down

0 comments on commit 4964501

Please sign in to comment.