ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

UI5 Icons automatic download only when used

Open boyetp123 opened this issue 6 years ago • 2 comments

Is your feature request related to a problem? Please describe. We are trying to improve load performance for our page, we are currently importing @ui5/webcomponents-icons/dist/json-imports/Icons which downloads all the Icons, most of it are not use To mitigate the issue, we have to import individual Icons that we only use

Describe the solution you'd like Maybe there way to do this so that we don't have to specify each icon we need, that will only download the Icons the we use, If not, Can you add this feature for the future release.

boyetp123 avatar Mar 30 '20 02:03 boyetp123

The only way I see this to be implemented is to do a single request for each icon when used, which would have a bad performance as well.

We totally agree that no one needs all the icons, therefore we recommend using single imports. Is there any other icon library you have been using and behaves like that?

MapTo0 avatar Apr 21 '20 14:04 MapTo0

I am closing this as I don't really see any possible action on our side. With single imports for icons you can optimize your bundle performance quite good.

Regards, Martin

MapTo0 avatar May 12 '20 15:05 MapTo0