Skip to content

Commit

Permalink
chore(vue): automatically add vuetify to ssr.noExternal
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Oct 19, 2022
1 parent 6e6a339 commit 17176d5
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 17176d5

Please sign in to comment.