Skip to content

Commit 850cc19

Browse files
authored
chore(vue): automatically add vuetify to ssr.noExternal (#5126)
Co-authored-by: Nate Moore <nate@astro.build>
1 parent 6e6a339 commit 850cc19

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/silly-windows-sin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@astrojs/vue': patch
3+
---
4+
5+
Automatically add `vuetify` to `vite.ssr.noExternal`

packages/integrations/vue/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async function getViteConfiguration(options?: Options): Promise<UserConfig> {
6262
plugins: [vue(options), virtualAppEntrypoint(options)],
6363
ssr: {
6464
external: ['@vue/server-renderer'],
65-
noExternal: ['vueperslides'],
65+
noExternal: ['vuetify', 'vueperslides'],
6666
},
6767
};
6868

0 commit comments

Comments
 (0)