package-build-stats icon indicating copy to clipboard operation
package-build-stats copied to clipboard

This is the cloud function that powers the core of building, minifying and gzipping of packages in bundlephobia

Results 30 package-build-stats issues
Sort by recently updated
recently updated
newest added

https://bundlephobia.com/package/[email protected] says `[email protected]` is 921 B minified and 437 B minified+gzipped, but that's not correct. It is 724 B and 331 B, respectively. I think the issue is that somehow...

When using `package-build-stats v7.2.2` locally I get this error: `Cannot find module 'core-js/modules/es.string.replace.js'` This is caused be a dependency error in `csso-webpack-plugin` (`core-js` is only listed as a `devDependency`). See:...

It seems the typing now requires an options object be passed to `getPackageStats`. The code seems to run fine without it (and the docs indicate it's optional), so this might...

Addresses #33 I took a crack at upgrading, but I really don't know Webpack well, so I got stuck in a few places. Opening this PR in case a few...

I hit some issues trying this locally, so I figured I add some clarification to the docs. The error thrown when `version` was not included: ``` UnhandledPromiseRejectionWarning: Error: Cannot find...

``` WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. Error: WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using...

https://github.com/pastelsky/package-build-stats/blob/v6.2.2/src/getDependencySizeTree.js#L139-L140 We use `Terser.minify` with `mangle: false`, which is different than almost _all_ production builds. Effectively, we are penalizing packages who have readable variable names in `node_modules` :) (npm already...

I'd like to run this with my own webpack config. Any thoughts on adding that feature?

I'm working on a package that uses WebAssembly, here: https://www.npmjs.com/package/wasm-marker-clusterer Currently, `.wasm` files need to be loaded asynchronously, making it difficult to package them in the standard way that webpack...

Hi, I hope this is the right place to report, my apologies if not. I have a package that bundlephobia is not able to process, and it looks like the...