icons and classes are purged when included in TS files
boussadjra opened this issue Β· comments
Brahim commented
When I define an icon name or tailwind classe inside a TS file like composable functions they are not parsed for example π
export const variantIcon: Record<string, string> = {
'info': 'i-carbon-information',
'warning': 'i-carbon-warning',
'error': 'i-carbon-misuse-outline',
'success': 'i-carbon-checkmark'
}
Anthony Fu commented
We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.