chore(vue): automatically add vuetify
to ssr.noExternal
(#5126)
Co-authored-by: Nate Moore <nate@astro.build>
This commit is contained in:
parent
6e6a339e6d
commit
850cc19fda
2 changed files with 6 additions and 1 deletions
5
.changeset/silly-windows-sin.md
Normal file
5
.changeset/silly-windows-sin.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@astrojs/vue': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Automatically add `vuetify` to `vite.ssr.noExternal`
|
|
@ -62,7 +62,7 @@ async function getViteConfiguration(options?: Options): Promise<UserConfig> {
|
||||||
plugins: [vue(options), virtualAppEntrypoint(options)],
|
plugins: [vue(options), virtualAppEntrypoint(options)],
|
||||||
ssr: {
|
ssr: {
|
||||||
external: ['@vue/server-renderer'],
|
external: ['@vue/server-renderer'],
|
||||||
noExternal: ['vueperslides'],
|
noExternal: ['vuetify', 'vueperslides'],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue