[DURACOM-247] Refactoring SSR configuration in order to align it with new nomenclature

This commit is contained in:
Giuseppe Digilio
2024-04-11 18:14:34 +02:00
parent 7b1f264812
commit d7d8067006
10 changed files with 90 additions and 114 deletions

View File

@@ -0,0 +1,21 @@
import { Config } from './config.interface';
export interface SSRConfig extends Config {
/**
* A boolean flag indicating whether the SSR configuration is enabled
* Defaults to true.
*/
enabled: boolean;
/**
* Enable request performance profiling data collection and printing the results in the server console.
* Defaults to false.
*/
enablePerformanceProfiler: boolean;
/**
* Reduce render blocking requests by inlining critical CSS.
* Defaults to true.
*/
inlineCriticalCss: boolean;
}