@lovable.dev/vite-tanstack-config 2.5.0-rc.0 → 2.5.0-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 +5 -3
- package/dist/index.js +5 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -444,9 +444,11 @@ function defineConfig(configOrOptions = {}) {
|
|
|
444
444
|
}
|
|
445
445
|
let config = {
|
|
446
446
|
define: envDefine,
|
|
447
|
-
//
|
|
448
|
-
//
|
|
449
|
-
|
|
447
|
+
// NODE_ENV=development gives the client the dev react-dom DevTools needs,
|
|
448
|
+
// but it would also make esbuild emit jsxDEV; the SSR/react-server JSX
|
|
449
|
+
// runtime has no jsxDEV export, so jsxDev:false keeps jsx/jsxs everywhere.
|
|
450
|
+
// keepNames keeps component names readable in the DevTools tree.
|
|
451
|
+
...isDevBuild ? { esbuild: { jsxDev: false, keepNames: true } } : {},
|
|
450
452
|
// Match the build's CSS pipeline in dev. Vite uses PostCSS in dev and only
|
|
451
453
|
// runs Lightning CSS at build, so build-time transforms (e.g. collapsing a
|
|
452
454
|
// hand-written `-webkit-backdrop-filter` to the prefixed form Chrome ignores)
|
package/dist/index.js
CHANGED
|
@@ -410,9 +410,11 @@ function defineConfig(configOrOptions = {}) {
|
|
|
410
410
|
}
|
|
411
411
|
let config = {
|
|
412
412
|
define: envDefine,
|
|
413
|
-
//
|
|
414
|
-
//
|
|
415
|
-
|
|
413
|
+
// NODE_ENV=development gives the client the dev react-dom DevTools needs,
|
|
414
|
+
// but it would also make esbuild emit jsxDEV; the SSR/react-server JSX
|
|
415
|
+
// runtime has no jsxDEV export, so jsxDev:false keeps jsx/jsxs everywhere.
|
|
416
|
+
// keepNames keeps component names readable in the DevTools tree.
|
|
417
|
+
...isDevBuild ? { esbuild: { jsxDev: false, keepNames: true } } : {},
|
|
416
418
|
// Match the build's CSS pipeline in dev. Vite uses PostCSS in dev and only
|
|
417
419
|
// runs Lightning CSS at build, so build-time transforms (e.g. collapsing a
|
|
418
420
|
// hand-written `-webkit-backdrop-filter` to the prefixed form Chrome ignores)
|
package/package.json
CHANGED