Home > @lynx-js/template-webpack-plugin > LynxEncodePlugin > encodeCSS
Encode CSS chunks into a template.
Signature:
Parameter | Type | Description |
---|---|---|
cssChunks | string[] | The CSS chunks' content. |
options | EncodeCSSOptions | The encode options. |
plugins | CSS.Plugin[] | (Optional) |
encode | (options: any) => Promise<{ buffer: Buffer; }> | (Optional) |
Returns:
Promise<Buffer>
The buffer of the template.