pkg-size.dev icon indicating copy to clipboard operation
pkg-size.dev copied to clipboard

Temporarily filter out packages with WebContainers overrides

Open privatenumber opened this issue 1 year ago • 0 comments

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

  • [ ] I plan to open a pull request for this issue
  • [ ] I plan to make a financial contribution to this project

privatenumber avatar Sep 24 '23 10:09 privatenumber