parent
4f9032be7c
commit
57a5eff5ce
3 changed files with 11 additions and 0 deletions
5
.changeset/pretty-hats-smash.md
Normal file
5
.changeset/pretty-hats-smash.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/vercel': patch
|
||||
---
|
||||
|
||||
Fix critical build regression. `@vercel/nft` is excluded from the bundle automatically.
|
|
@ -66,6 +66,9 @@ export default function vercelEdge({
|
|||
},
|
||||
vite: {
|
||||
define: viteDefine,
|
||||
ssr: {
|
||||
external: ['@vercel/nft']
|
||||
}
|
||||
},
|
||||
...getImageConfig(imageService, imagesConfig, command),
|
||||
});
|
||||
|
|
|
@ -94,6 +94,9 @@ export default function vercelServerless({
|
|||
},
|
||||
vite: {
|
||||
define: viteDefine,
|
||||
ssr: {
|
||||
external: ['@vercel/nft']
|
||||
}
|
||||
},
|
||||
...getImageConfig(imageService, imagesConfig, command),
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue