diff options
author | 2022-10-19 12:32:06 -0500 | |
---|---|---|
committer | 2022-10-19 12:32:06 -0500 | |
commit | 850cc19fda8e092c1a5fcbd7abfe7c7a0e15629c (patch) | |
tree | 951cdf6b52d6eecc76a76b1bbe7dd4bc3418f530 | |
parent | 6e6a339e6d6f0bce75511f179f656f2a2b8b651c (diff) | |
download | astro-850cc19fda8e092c1a5fcbd7abfe7c7a0e15629c.tar.gz astro-850cc19fda8e092c1a5fcbd7abfe7c7a0e15629c.tar.zst astro-850cc19fda8e092c1a5fcbd7abfe7c7a0e15629c.zip |
chore(vue): automatically add `vuetify` to `ssr.noExternal` (#5126)
Co-authored-by: Nate Moore <nate@astro.build>
-rw-r--r-- | .changeset/silly-windows-sin.md | 5 | ||||
-rw-r--r-- | packages/integrations/vue/src/index.ts | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/silly-windows-sin.md b/.changeset/silly-windows-sin.md new file mode 100644 index 000000000..e7f949d59 --- /dev/null +++ b/.changeset/silly-windows-sin.md @@ -0,0 +1,5 @@ +--- +'@astrojs/vue': patch +--- + +Automatically add `vuetify` to `vite.ssr.noExternal` diff --git a/packages/integrations/vue/src/index.ts b/packages/integrations/vue/src/index.ts index f7cf10fbd..a8fb1da25 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<UserConfig> { plugins: [vue(options), virtualAppEntrypoint(options)], ssr: { external: ['@vue/server-renderer'], - noExternal: ['vueperslides'], + noExternal: ['vuetify', 'vueperslides'], }, }; |