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

Built-in bundlephobia #146

Open
sillvva opened this issue Mar 3, 2024 · 3 comments
Open

Built-in bundlephobia #146

sillvva opened this issue Mar 3, 2024 · 3 comments

Comments

@sillvva
Copy link

sillvva commented Mar 3, 2024

Any chance of having built-in bundlephobia package size, module size, and gzipped size for each module?

@Demivan
Copy link

Demivan commented Mar 4, 2024

May I suggest using https://bundlejs.com/ or a custom solution. Bundlephobia still uses Webpack 4 to build the package, and there are packages it fails to build.
And it does not support exports and imports package.json fields.

@lucacasonato lucacasonato added this to JSR Mar 4, 2024
@github-project-automation github-project-automation bot moved this to Needs Plan in JSR Mar 4, 2024
@lucacasonato lucacasonato removed the status in JSR Mar 4, 2024
@lucacasonato lucacasonato moved this to Needs Plan in JSR Mar 4, 2024
@crowlKats
Copy link
Collaborator

whats the usecase for this?

@sillvva
Copy link
Author

sillvva commented Mar 31, 2024

whats the usecase for this?

Take schema validation libraries for example. You have Zod, Yup, Valibot, Typebox, etc. They all pretty much do the same thing. Being able to determine tree-shakeability, gzip size, etc helps developers make an informed decision when it comes to similar packages.

@crowlKats crowlKats removed the feature label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Plan
Development

No branches or pull requests

4 participants