chore(vue): automatically add vuetify to ssr.noExternal (#5126)

Co-authored-by: Nate Moore <nate@astro.build>
This commit is contained in:
Nate Moore 2022-10-19 12:32:06 -05:00 committed by GitHub
parent 6e6a339e6d
commit 850cc19fda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/vue': patch
---
Automatically add `vuetify` to `vite.ssr.noExternal`

View file

@ -62,7 +62,7 @@ async function getViteConfiguration(options?: Options): Promise<UserConfig> {
plugins: [vue(options), virtualAppEntrypoint(options)],
ssr: {
external: ['@vue/server-renderer'],
noExternal: ['vueperslides'],
noExternal: ['vuetify', 'vueperslides'],
},
};