(componentShortId: string)
| 106 | } |
| 107 | |
| 108 | export function shimHostAttribute(componentShortId: string): string { |
| 109 | return HOST_ATTR.replace(COMPONENT_REGEX, componentShortId); |
| 110 | } |
| 111 | |
| 112 | export function shimStylesContent(compId: string, styles: string[]): string[] { |
| 113 | return styles.map((s) => s.replace(COMPONENT_REGEX, compId)); |