mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix: vite dep optimization issue with react test app and pnpm
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
@@ -16,7 +16,4 @@ export default defineConfig({
|
||||
server: {
|
||||
port: 3000
|
||||
},
|
||||
optimizeDeps: {
|
||||
exclude: ['@ionic/react', '@ionic/react-router']
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user