@ivogt/rsc-router 0.0.0-experimental.5 → 0.0.0-experimental.6
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/package.json +1 -1
- package/src/vite/index.ts +3 -1
package/package.json
CHANGED
package/src/vite/index.ts
CHANGED
|
@@ -649,8 +649,10 @@ export async function rscRouter(
|
|
|
649
649
|
},
|
|
650
650
|
},
|
|
651
651
|
rsc: {
|
|
652
|
-
// RSC environment
|
|
652
|
+
// RSC environment needs exclude list and esbuild options
|
|
653
|
+
// Exclude rsc-router modules to prevent createContext in RSC environment
|
|
653
654
|
optimizeDeps: {
|
|
655
|
+
exclude: RSC_ROUTER_EXCLUDE_DEPS,
|
|
654
656
|
esbuildOptions: sharedEsbuildOptions,
|
|
655
657
|
},
|
|
656
658
|
},
|