@rangojs/router 0.0.0-experimental.71 → 0.0.0-experimental.72
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/vite/index.js +9 -1
- package/package.json +1 -1
- package/src/vite/rango.ts +8 -0
package/dist/vite/index.js
CHANGED
|
@@ -1864,7 +1864,7 @@ import { resolve } from "node:path";
|
|
|
1864
1864
|
// package.json
|
|
1865
1865
|
var package_default = {
|
|
1866
1866
|
name: "@rangojs/router",
|
|
1867
|
-
version: "0.0.0-experimental.
|
|
1867
|
+
version: "0.0.0-experimental.72",
|
|
1868
1868
|
description: "Django-inspired RSC router with composable URL patterns",
|
|
1869
1869
|
keywords: [
|
|
1870
1870
|
"react",
|
|
@@ -5289,6 +5289,14 @@ async function rango(options) {
|
|
|
5289
5289
|
enforce: "pre",
|
|
5290
5290
|
config() {
|
|
5291
5291
|
return {
|
|
5292
|
+
// Wrangler/Miniflare mutates .wrangler state files (sqlite, WAL, etc.)
|
|
5293
|
+
// during normal dev operation. Those writes are not source changes,
|
|
5294
|
+
// but they can still wake Vite's watcher and create noisy HMR churn.
|
|
5295
|
+
server: {
|
|
5296
|
+
watch: {
|
|
5297
|
+
ignored: ["**/.wrangler/**"]
|
|
5298
|
+
}
|
|
5299
|
+
},
|
|
5292
5300
|
// Exclude rsc-router modules from optimization to prevent module duplication
|
|
5293
5301
|
// This ensures the same Context instance is used by both browser entry and RSC proxy modules
|
|
5294
5302
|
optimizeDeps: {
|
package/package.json
CHANGED
package/src/vite/rango.ts
CHANGED
|
@@ -102,6 +102,14 @@ export async function rango(options?: RangoOptions): Promise<PluginOption[]> {
|
|
|
102
102
|
config() {
|
|
103
103
|
// Configure environments for cloudflare deployment
|
|
104
104
|
return {
|
|
105
|
+
// Wrangler/Miniflare mutates .wrangler state files (sqlite, WAL, etc.)
|
|
106
|
+
// during normal dev operation. Those writes are not source changes,
|
|
107
|
+
// but they can still wake Vite's watcher and create noisy HMR churn.
|
|
108
|
+
server: {
|
|
109
|
+
watch: {
|
|
110
|
+
ignored: ["**/.wrangler/**"],
|
|
111
|
+
},
|
|
112
|
+
},
|
|
105
113
|
// Exclude rsc-router modules from optimization to prevent module duplication
|
|
106
114
|
// This ensures the same Context instance is used by both browser entry and RSC proxy modules
|
|
107
115
|
optimizeDeps: {
|