We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fb1b32 commit 3b34befCopy full SHA for 3b34bef
1 file changed
vite.config.ts
@@ -1,4 +1,3 @@
1
-
2
import { defineConfig } from "vite";
3
import react from "@vitejs/plugin-react-swc";
4
import path from "path";
@@ -30,7 +29,8 @@ export default defineConfig(({ mode }) => ({
30
29
if (id.includes('node_modules/react') ||
31
id.includes('node_modules/react-dom') ||
32
id.includes('node_modules/scheduler') ||
33
- id.includes('node_modules/use-sync-external-store')) {
+ id.includes('node_modules/use-sync-external-store') ||
+ id.includes('node_modules/@tanstack/react-query')) {
34
return 'react-vendor';
35
}
36
0 commit comments