@lovable.dev/vite-tanstack-config 1.5.0 → 1.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 +4 -0
- package/dist/index.js +4 -0
- package/package.json +2 -1
package/dist/index.cjs
CHANGED
|
@@ -232,6 +232,10 @@ function defineConfig(configOrOptions = {}) {
|
|
|
232
232
|
internalPlugins.push(hmrGatePlugin(hmrGateOptions));
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
+
if (command === "serve" && isSandbox) {
|
|
236
|
+
const { devServerBridgePlugin } = await import("@lovable.dev/vite-plugin-dev-server-bridge");
|
|
237
|
+
internalPlugins.push(devServerBridgePlugin());
|
|
238
|
+
}
|
|
235
239
|
if (command === "serve" && mode === "development") {
|
|
236
240
|
internalPlugins.push((0, import_lovable_tagger.componentTagger)());
|
|
237
241
|
}
|
package/dist/index.js
CHANGED
|
@@ -198,6 +198,10 @@ function defineConfig(configOrOptions = {}) {
|
|
|
198
198
|
internalPlugins.push(hmrGatePlugin(hmrGateOptions));
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
+
if (command === "serve" && isSandbox) {
|
|
202
|
+
const { devServerBridgePlugin } = await import("@lovable.dev/vite-plugin-dev-server-bridge");
|
|
203
|
+
internalPlugins.push(devServerBridgePlugin());
|
|
204
|
+
}
|
|
201
205
|
if (command === "serve" && mode === "development") {
|
|
202
206
|
internalPlugins.push(componentTagger());
|
|
203
207
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lovable.dev/vite-tanstack-config",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Vite config wrapper for Lovable TanStack Start projects",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
|
+
"@lovable.dev/vite-plugin-dev-server-bridge": "^1.0.0",
|
|
29
30
|
"@lovable.dev/vite-plugin-hmr-gate": "^1.0.0",
|
|
30
31
|
"lovable-tagger": "1.2.0"
|
|
31
32
|
},
|