Add SSR bundle minify config
This commit is contained in:
Vendored
+7
@@ -114,6 +114,13 @@ export type BunextConfig = {
|
||||
* aborted and answered with a 500. Defaults to 30000.
|
||||
*/
|
||||
ssr_render_timeout_ms?: number;
|
||||
/**
|
||||
* Minify the SSR bundle. The SSR output is read off local disk by the
|
||||
* server and is never downloaded by a browser, so minifying it only costs
|
||||
* build memory. Set to `false` on memory-constrained hosts. Never minified
|
||||
* in dev; defaults to `true` in production.
|
||||
*/
|
||||
minify_ssr_bundle?: boolean;
|
||||
};
|
||||
export type BunextConfigMiddlewareParams = {
|
||||
req: Request;
|
||||
|
||||
Reference in New Issue
Block a user