@lwc/ssr-client-utils
Version:
Client-side complement to @lwc/ssr-compiler
10 lines • 501 B
TypeScript
/**
* This function should be called in a <script> tag in the <head>
* before server-rendered markup is encountered while parsing an HTML
* document. This ensures that deduplicated styles will be in effect
* for components that insert an <lwc-style> tag in place of a full
* stylesheet.
* It can also be implicitly invoked by importing `@lwc/ssr-client-utils/register-lwc-style` as a bare import.
*/
export declare function registerLwcStyleComponent(): void;
//# sourceMappingURL=index.d.ts.map