You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/07/15 07:01:09 UTC

[GitHub] [cloudstack-primate] utchoang commented on issue #510: Build and packaging improvements

utchoang commented on issue #510:
URL: https://github.com/apache/cloudstack-primate/issues/510#issuecomment-658585116


   Currently, I have only found a few issues:
   1. In node_modules, we use package `@antv/g2`, this package is used in the chart.
   => Ignore package `@antv/g2` because I think Primate doesn't seem to use the chart.
   
   2. Ant design icons are imported entirely including icons not used in Primate
   => Only import component icons to use in Primate. Refer: https://stackoverflow.com/questions/48721290/ant-design-huge-imports
   
   3. In src/locales, JSON files are being imported directly, so its size is very large (> 2 MB)
   => There is still no better way.
   
   ![image](https://user-images.githubusercontent.com/13766648/87512222-d5aa5b80-c6a0-11ea-8c47-a16082be12d6.png)
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org