Add primevue as an external Vue package (#5571)

This commit is contained in:
Matthew Phillips 2022-12-09 11:46:21 -05:00 committed by GitHub
parent 3f811eb682
commit 50ecb3005d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/vue': patch
---
Add primevue as an external Vue package

View file

@ -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'],
},
};