18 lines
598 B
TypeScript
18 lines
598 B
TypeScript
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 {};
|