fix: vite dep optimization issue with react test app and pnpm

This commit is contained in:
Sean Perkins
2023-12-28 13:58:49 -05:00
parent 7bb19b83bf
commit 5226bbd5d2
2 changed files with 2 additions and 5 deletions

View File

@@ -29,7 +29,7 @@
"@types/react-dom": "^18.0.10",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-legacy": "^4.0.2",
"@vitejs/plugin-legacy": "^5.0.0",
"@vitejs/plugin-react": "^4.0.1",
"concurrently": "^6.3.0",
"cypress": "^13.2.0",
@@ -38,7 +38,7 @@
"jsdom": "^22.1.0",
"serve": "^14.0.1",
"typescript": "^5.1.6",
"vite": "^4.3.9",
"vite": "^5.0.0",
"vitest": "^0.32.2",
"wait-on": "^6.0.0"
},

View File

@@ -16,7 +16,4 @@ export default defineConfig({
server: {
port: 3000
},
optimizeDeps: {
exclude: ['@ionic/react', '@ionic/react-router']
}
})