@lovable.dev/vite-tanstack-config 2.5.1-rc.1 → 2.5.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 +1 -7
- package/dist/index.js +1 -7
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -471,13 +471,7 @@ function defineConfig(configOrOptions = {}) {
|
|
|
471
471
|
// requests. React core only — including @tanstack/react-start would pull its
|
|
472
472
|
// node:async_hooks server entry into the client bundle and crash hydration.
|
|
473
473
|
optimizeDeps: {
|
|
474
|
-
include: [
|
|
475
|
-
"react",
|
|
476
|
-
"react-dom",
|
|
477
|
-
"react-dom/client",
|
|
478
|
-
"react/jsx-runtime",
|
|
479
|
-
"react/jsx-dev-runtime"
|
|
480
|
-
],
|
|
474
|
+
include: ["react", "react-dom", "react-dom/client", "react/jsx-runtime", "react/jsx-dev-runtime"],
|
|
481
475
|
ignoreOutdatedRequests: true
|
|
482
476
|
},
|
|
483
477
|
plugins: [...internalPlugins, ...options.plugins ?? []]
|
package/dist/index.js
CHANGED
|
@@ -437,13 +437,7 @@ function defineConfig(configOrOptions = {}) {
|
|
|
437
437
|
// requests. React core only — including @tanstack/react-start would pull its
|
|
438
438
|
// node:async_hooks server entry into the client bundle and crash hydration.
|
|
439
439
|
optimizeDeps: {
|
|
440
|
-
include: [
|
|
441
|
-
"react",
|
|
442
|
-
"react-dom",
|
|
443
|
-
"react-dom/client",
|
|
444
|
-
"react/jsx-runtime",
|
|
445
|
-
"react/jsx-dev-runtime"
|
|
446
|
-
],
|
|
440
|
+
include: ["react", "react-dom", "react-dom/client", "react/jsx-runtime", "react/jsx-dev-runtime"],
|
|
447
441
|
ignoreOutdatedRequests: true
|
|
448
442
|
},
|
|
449
443
|
plugins: [...internalPlugins, ...options.plugins ?? []]
|