pastelsky/bundlephobia

Allow to link a specific exported module

Open

#389 geöffnet am 18. Aug. 2020

Auf GitHub ansehen
 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (250 Forks)batch import
Improvementgood first issue

Repository-Metriken

Stars
 (8.477 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide