pastelsky / bundlephobia

🏋️ Find out the cost of adding a new frontend dependency to your project
https://bundlephobia.com
MIT License
8.96k stars 221 forks source link

data URI is reported as a missing dependency #855

Open ljharb opened 8 months ago

ljharb commented 8 months ago

Describe the bug See https://bundlephobia.com/package/has-dynamic-import@2.1.0. See Ignoring the size of missing dependency data:text.

To Reproduce Publish any package with dynamic import of a data URI.

Expected behavior The size of a data: URI is already counted as part of the code, and there's nothing to add to package.json, so this message need not appear.