import { commonIcons } from './common-icons' ; import { SingleIconDefinition } from './iconset.interface' ; /** We generate the iconset definition as hardcoding it increases bundle size by ~40kb per iconset */ export const uxIconset = [ ... commonIcons . map < SingleIconDefinition > ( uxIconMapper ) ] ; function uxIconMapper ( icon ) { return { name : icon , iconset : 'ux-icon' , icon : `ux-icon-${ icon }` } ; }