Skip to content

Commit

Permalink
chore(vue): automatically add vuetify to ssr.noExternal (#5126)
Browse files Browse the repository at this point in the history
Co-authored-by: Nate Moore <[email protected]>
  • Loading branch information
natemoo-re and natemoo-re authored Oct 19, 2022
1 parent 6e6a339 commit 850cc19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/silly-windows-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/vue': patch
---

Automatically add `vuetify` to `vite.ssr.noExternal`
2 changes: 1 addition & 1 deletion packages/integrations/vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
},
};

Expand Down

0 comments on commit 850cc19

Please sign in to comment.