GouvernementFR / dsfr-chart

🇫🇷 Data visualization library supported by french government's design system (Système de Design de l'État)
https://gouvernementfr.github.io/dsfr-chart/
MIT License
18 stars 7 forks source link

Some dependencies should be devDependencies. #11

Closed garronej closed 1 week ago

garronej commented 1 month ago

Hello,

Thank you for creating this package!

@K4ST0R recently integrated it into react-dsfr: Example.

However, we've noticed that installing @gouvfr/chart-dsfr brings in around 250 additional packages, resulting in a total size of about 200MB in the node_modules folder.

To optimize this, it would be beneficial to move certain dependencies, such as sass, to the devDependencies list.

Best regards,

zellerbaptiste commented 4 weeks ago

Merci pour le retour @garronej nous allons nous pencher sur le sujet et voir ce qui peut être amélioré en ce sens pour la prochaine release.

garronej commented 4 weeks ago

Top merci