Home > @lynx-js/template-webpack-plugin > LynxTemplatePlugin > convertCSSChunksToMap
LynxTemplatePlugin.convertCSSChunksToMap() method
Convert the css chunks to css map.
Signature:
Parameters
Returns:
{ cssMap: Record<string, CSS.LynxStyleNode[]>; cssSource: Record<string, string>; }
The CSS map and css source.
Remarks
This helper currently forwards to cssChunksToMap.
The returned cssSource is keyed by cssId and uses the synthetic filename format /cssId/<id>.css.
This helper does not remap generated loc fields to original source coordinates.

