pierrejeambrun opened a new issue, #51878:
URL: https://github.com/apache/airflow/issues/51878

   ### Body
   
   While inspecting the UI bundle as part of 
https://github.com/apache/airflow/pull/51735, I realized that there was an 
issue with react icons.
   
   As shown in the image below `react-icons` is taking most of the bundle size, 
18.5M our of the total 27M.
   
   The reason for is because we use icons from many sub libraries of react 
icons (md, pi, tb, lia, etc...). When we use an icon from a new icon lib 
contained in react-query, this whole new lib will be added to the bundle, and 
therefore we end up in many different icons libs in the final bundle.
   
   The goal of this issue is to go over our icon usage and refactor them so we 
only use one single icon lib.
   
   
![Image](https://github.com/user-attachments/assets/730548fe-a808-49ab-9026-f3f8aef762fb)
   
    
   
   ### Committer
   
   - [x] I acknowledge that I am a maintainer/committer of the Apache Airflow 
project.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to