privatenumber / pkg-size.dev

📦🔍 Find the true size of an npm package
https://pkg-size.dev
688 stars 6 forks source link

Temporarily filter out packages with WebContainers overrides #25

Open privatenumber opened 11 months ago

privatenumber commented 11 months ago

Problem

When a package like esbuild or lightningcss is installed, the install size is doubled because WebContainers does a WASM swap (https://github.com/stackblitz/webcontainer-core/issues/1163).

Expected behavior

For the pkg-size install size to be accurate.

I think we can manually filter out known packages for now (e.g. to ignore WASM packages that does not exist in the package-lock).

Minimal reproduction URL

N/A

Version

N/A

Node.js version

N/A

Package manager

npm

Operating system

macOS

Contributions