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