@lovable.dev/vite-tanstack-config 2.5.1-rc.0 → 2.5.1-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -467,16 +467,16 @@ function defineConfig(configOrOptions = {}) {
467
467
  ]
468
468
  },
469
469
  // Dep re-optimization rotates the optimized-dep hash and 504s tabs holding
470
- // the old one; pre-bundle guaranteed deps and tolerate the stale requests.
470
+ // the old one; pre-bundle the always-present client deps + tolerate stale
471
+ // requests. React core only — including @tanstack/react-start would pull its
472
+ // node:async_hooks server entry into the client bundle and crash hydration.
471
473
  optimizeDeps: {
472
474
  include: [
473
475
  "react",
474
476
  "react-dom",
475
477
  "react-dom/client",
476
478
  "react/jsx-runtime",
477
- "react/jsx-dev-runtime",
478
- "@tanstack/react-router",
479
- "@tanstack/react-start"
479
+ "react/jsx-dev-runtime"
480
480
  ],
481
481
  ignoreOutdatedRequests: true
482
482
  },
package/dist/index.js CHANGED
@@ -433,16 +433,16 @@ function defineConfig(configOrOptions = {}) {
433
433
  ]
434
434
  },
435
435
  // Dep re-optimization rotates the optimized-dep hash and 504s tabs holding
436
- // the old one; pre-bundle guaranteed deps and tolerate the stale requests.
436
+ // the old one; pre-bundle the always-present client deps + tolerate stale
437
+ // requests. React core only — including @tanstack/react-start would pull its
438
+ // node:async_hooks server entry into the client bundle and crash hydration.
437
439
  optimizeDeps: {
438
440
  include: [
439
441
  "react",
440
442
  "react-dom",
441
443
  "react-dom/client",
442
444
  "react/jsx-runtime",
443
- "react/jsx-dev-runtime",
444
- "@tanstack/react-router",
445
- "@tanstack/react-start"
445
+ "react/jsx-dev-runtime"
446
446
  ],
447
447
  ignoreOutdatedRequests: true
448
448
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovable.dev/vite-tanstack-config",
3
- "version": "2.5.1-rc.0",
3
+ "version": "2.5.1-rc.1",
4
4
  "description": "Vite config wrapper for Lovable TanStack Start projects",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",