Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not exit with error for type packages #48

Open
PandarinDev opened this issue May 17, 2021 · 2 comments
Open

Do not exit with error for type packages #48

PandarinDev opened this issue May 17, 2021 · 2 comments
Labels
Enhancement 🍭 Something existing, but better ;)

Comments

@PandarinDev
Copy link

Our package.json contains @type packages, since we are using TypeScript, but these packages are unsupported by BundlePhobia. Unfortunately this results in the side effect that if I feed our package.json to bundle-phobia-cli it crashes with error on the first @type package. It would be nice if there was an option to ignore such packages and report only the size of supported packages.

@AdrieanKhisbe AdrieanKhisbe added the Enhancement 🍭 Something existing, but better ;) label Jul 21, 2021
@ranjbarreza
Copy link

It would be really interesting +1

@niktor76
Copy link

niktor76 commented Dec 21, 2023

I think my problem is similar. The bundle-phobia-cli abborts the analyzing of package.json after the resolving of one request fails:

✖ resolving @pinia/nuxt@^0.4.11 failed: Failed to build this package. bundle-phobia failed: Failed to build this package.

It would be nice, if the process wouldn't stop there.

AdrieanKhisbe added a commit that referenced this issue Jan 2, 2024
Should address original #48 request
AdrieanKhisbe added a commit that referenced this issue Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement 🍭 Something existing, but better ;)
Projects
None yet
Development

No branches or pull requests

4 participants