@lovable.dev/vite-tanstack-config 2.4.0 → 2.4.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 +2 -1
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -468,7 +468,8 @@ function defineConfig(configOrOptions = {}) {
|
|
|
468
468
|
validateConfig(config);
|
|
469
469
|
config = cleanServerConfig(
|
|
470
470
|
(0, import_vite.mergeConfig)(config, {
|
|
471
|
-
|
|
471
|
+
// .workspace is a mounted repo, not app code; watching it breaks the HMR freeze gate.
|
|
472
|
+
server: { host: "::", port: 8080, strictPort: true, watch: { ignored: ["**/.workspace/**"] } }
|
|
472
473
|
})
|
|
473
474
|
);
|
|
474
475
|
} else {
|
package/dist/index.js
CHANGED
|
@@ -434,7 +434,8 @@ function defineConfig(configOrOptions = {}) {
|
|
|
434
434
|
validateConfig(config);
|
|
435
435
|
config = cleanServerConfig(
|
|
436
436
|
mergeConfig(config, {
|
|
437
|
-
|
|
437
|
+
// .workspace is a mounted repo, not app code; watching it breaks the HMR freeze gate.
|
|
438
|
+
server: { host: "::", port: 8080, strictPort: true, watch: { ignored: ["**/.workspace/**"] } }
|
|
438
439
|
})
|
|
439
440
|
);
|
|
440
441
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lovable.dev/vite-tanstack-config",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.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",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@lovable.dev/vite-plugin-dev-server-bridge": "^1.0.1",
|
|
30
|
-
"@lovable.dev/vite-plugin-hmr-gate": "^1.0.
|
|
30
|
+
"@lovable.dev/vite-plugin-hmr-gate": "^1.1.0-rc.0",
|
|
31
31
|
"lightningcss": "^1.30.0",
|
|
32
32
|
"lovable-tagger": "1.2.0"
|
|
33
33
|
},
|