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

Root UI and json imports #56

Open
MrWook opened this issue Jan 6, 2025 · 1 comment
Open

Root UI and json imports #56

MrWook opened this issue Jan 6, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@MrWook
Copy link

MrWook commented Jan 6, 2025

Hey,

I recently tested Sonda with one of my larger projects using Nuxt and noticed a couple of things that could enhance the experience:

Root View for Bundled Files:
Other analytic tools often have a root view where all bundled files are displayed together, typically sorted from left to right by size. This makes it easier to quickly identify large files and focus on optimizing them. With Sonda, I had to manually click through each of my 56 files, which was time-consuming. A similar overview in Sonda would be incredibly helpful.

Unassigned Parts and JSON Imports:
I noticed several [unassigned] parts in the analysis, and after comparing the output with Nuxt’s native analyzer, it seems these might correspond to .json imports. Including the filename or file extension for these [unassigned] parts would make it easier to identify them and understand their impact.

@filipsobol
Copy link
Owner

Hi, thanks for the feedback.

I'm working on a complete UI redesign and “Root View for Bundled Files” is already done. There will be many other improvements that will make inspecting large builds much easier. If all goes well, the 0.8.0 release will be massive.

Sonda works by inspecting source maps, and [unassigned] means that a particular part of the bundle doesn't have any mappings to the original code. This is described in the documentation, which also mentions how to investigate it further. I'm curious if these parts are JSON imports, code comments, or something else.

@filipsobol filipsobol added the enhancement New feature or request label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants