Skip to content

Commit

Permalink
Add primevue as an external Vue package (#5571)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored Dec 9, 2022
1 parent 3f811eb commit 50ecb30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/short-games-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/vue': patch
---

Add primevue as an external Vue package
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: ['vuetify', 'vueperslides'],
noExternal: ['vuetify', 'vueperslides', 'primevue'],
},
};

Expand Down

0 comments on commit 50ecb30

Please sign in to comment.