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

Sort by file size all entries in trees (entrypoints modules, chunks) #162

Open
Dema opened this issue Mar 30, 2022 · 3 comments
Open

Sort by file size all entries in trees (entrypoints modules, chunks) #162

Dema opened this issue Mar 30, 2022 · 3 comments

Comments

@Dema
Copy link

Dema commented Mar 30, 2022

Is your feature request related to a problem? Please describe.
It's hard to look through thousands of modules and other entries in the search of most impactful stuff that can be lazy loaded or split.

Describe the solution you'd like
Add toggle to allow to sort by file size in descending order.

@bogdanb
Copy link

bogdanb commented Oct 5, 2022

I don’t even need a toggle (though it would be nice) sorting by size should be the default. That’s why I’m using the tool, to find the biggest things in my entry-points that shouldn‘t be there.

@bogdanb
Copy link

bogdanb commented Oct 5, 2022

Also, sorry, I know this is unrelated, but why in the world would you use a shadow root to contain 99% of the elements on that page?! It makes it basically impossible to sort stuff using the browser console.

@smelukov
Copy link
Member

Seems like I forgot to add modules sorting (assets, chunks, etc already sorted by size)
I'm going to add a descending size sorting by default

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

No branches or pull requests

3 participants