Skip to content

Commit

Permalink
Revert vue change
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Jan 7, 2025
1 parent 2ccd015 commit 5f05c9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .changeset/brown-flies-repeat.md

This file was deleted.

4 changes: 3 additions & 1 deletion packages/integrations/vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ async function getViteConfiguration(

const config: UserConfig = {
optimizeDeps: {
include: ['@astrojs/vue/client.js'],
// We add `vue` here as `@vitejs/plugin-vue` doesn't add it and we want to prevent
// re-optimization if the `vue` import is only encountered later.
include: ['@astrojs/vue/client.js', 'vue'],
exclude: ['@astrojs/vue/server.js', VIRTUAL_MODULE_ID],
},
plugins: [vue(vueOptions), virtualAppEntrypoint(vueOptions)],
Expand Down

0 comments on commit 5f05c9e

Please sign in to comment.