Set SSR target webworker for Vercel edge (#4884)
This commit is contained in:
parent
c6cfc638fd
commit
fb91d04a5c
2 changed files with 6 additions and 0 deletions
5
.changeset/curvy-comics-smash.md
Normal file
5
.changeset/curvy-comics-smash.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@astrojs/vercel': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Set SSR target webworker
|
|
@ -44,6 +44,7 @@ export default function vercelEdge(): AstroIntegration {
|
||||||
}
|
}
|
||||||
|
|
||||||
vite.ssr = {
|
vite.ssr = {
|
||||||
|
target: 'webworker',
|
||||||
noExternal: true,
|
noExternal: true,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue