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