From 50ecb3005dae3d288e60c7a59c114d504193553b Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Fri, 9 Dec 2022 11:46:21 -0500 Subject: [PATCH] Add primevue as an external Vue package (#5571) --- .changeset/short-games-end.md | 5 +++++ packages/integrations/vue/src/index.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/short-games-end.md diff --git a/.changeset/short-games-end.md b/.changeset/short-games-end.md new file mode 100644 index 000000000000..84426c9d0e9b --- /dev/null +++ b/.changeset/short-games-end.md @@ -0,0 +1,5 @@ +--- +'@astrojs/vue': patch +--- + +Add primevue as an external Vue package diff --git a/packages/integrations/vue/src/index.ts b/packages/integrations/vue/src/index.ts index a8fb1da2570f..2c234952b693 100644 --- a/packages/integrations/vue/src/index.ts +++ b/packages/integrations/vue/src/index.ts @@ -62,7 +62,7 @@ async function getViteConfiguration(options?: Options): Promise { plugins: [vue(options), virtualAppEntrypoint(options)], ssr: { external: ['@vue/server-renderer'], - noExternal: ['vuetify', 'vueperslides'], + noExternal: ['vuetify', 'vueperslides', 'primevue'], }, };