Add SSR bundle minify config
This commit is contained in:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
type Params = {
|
||||
/**
|
||||
* The value of `minify_ssr_bundle` in `bunext.config.ts`
|
||||
* (`global.BUNEXT_CONFIG.minify_ssr_bundle`).
|
||||
*/
|
||||
minify_ssr_bundle?: boolean;
|
||||
};
|
||||
/**
|
||||
* Whether the SSR bundle should be minified.
|
||||
*
|
||||
* 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. Dev is never minified.
|
||||
* In production the bundle is minified unless `minify_ssr_bundle` is explicitly
|
||||
* set to `false` in `bunext.config.ts`.
|
||||
*/
|
||||
export default function shouldMinifySSR(params?: Params): boolean;
|
||||
export {};
|
||||
Reference in New Issue
Block a user