Add public envs

This commit is contained in:
2026-08-03 08:42:33 +01:00
parent 86ea86e7bd
commit 87948340b0
6 changed files with 58 additions and 12 deletions
+4
View File
@@ -72,6 +72,10 @@ export type BunextConfig = {
* absolute), or a RegEx pattern.
*/
exclude_watch_patterns?: (string | RegExp)[];
/**
* Public environment variables to be passed to the client
*/
public_envs?: Record<string, string>;
};
export type BunextConfigMiddlewareParams = {
req: Request;