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

size-limit --check #90

Open
theKashey opened this issue Apr 10, 2019 · 0 comments
Open

size-limit --check #90

theKashey opened this issue Apr 10, 2019 · 0 comments

Comments

@theKashey
Copy link
Contributor

theKashey commented Apr 10, 2019

It's time to think about the next 2000 stars:

  • size-limit for libraries and apps (two different configs)
  • size-limit --check as an extension of --why to check not the size, but size factors

Size factors:

  • Library: using dev dependencies as dependencies. They do not affect the bundle size, so invisible for normal mode, but greatly affect the package install size, which should be proportional to the bundle size, not 1000 times larger (I am guilty).
  • Application: there is a list of easy wins to reduce package size. There are also other plugins to make your app smaller depending on its nature. More to come (once someone asks), and it should be easy to keep it up to date, as long as there are the people (@ai, @iamakulov, @jpnelson, 👀) who care much about it.

It would be great to ask size-limit to check my Library or App, and be given some advice on how to make it smaller or faster. That's worth next 2k⭐️!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant