pastelsky/bundlephobia

Allow to link a specific exported module

Open

#389 aperta il 18 ago 2020

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)JavaScript (250 fork)batch import
Improvementgood first issue

Metriche repository

Star
 (8477 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Please describe the problem

In the documentation of Material-UI, we have a number of small modules exported from a large package (for convinience), for instance: https://material-ui.com/components/textarea-autosize/. We link our own bundle size report so developers can have an idea of the bundle size cost (and hopefully feel safe adding the dependency). However, I think that developers would have more trust in a third-party source, somebody that doesn't have conflicting incentives (as long as the data is accurate enough).

Describe the solution you'd like

We would like to link a specific exported module with BundlePhobia.

Describe any alternatives you've considered

We have tried text fragment but it's not reliable enough: https://github.com/mui-org/material-ui/pull/22210#discussion_r471125634

Guida contributor