Skip to content

Commit

Permalink
test(Vitest): Fix component test by exclude vue from optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
sfxcode committed Sep 24, 2023
1 parent cd5ef47 commit 9f02ab9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-primevue-starter",
"version": "1.5.3",
"version": "1.5.4",
"license": "MIT",
"scripts": {
"dev": "vite --port 3333 --open",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ export default defineConfig({

optimizeDeps: {
include: [
'vue',
'vue-router',
'@vueuse/core',
],
exclude: [
'vue',
'vue-demi',
],
},
Expand Down

0 comments on commit 9f02ab9

Please sign in to comment.