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

[Refactor]: js plugin visualizer #1840

Open
Tracked by #1589
ErKeLost opened this issue Oct 21, 2024 · 3 comments · May be fixed by #2098
Open
Tracked by #1589

[Refactor]: js plugin visualizer #1840

ErKeLost opened this issue Oct 21, 2024 · 3 comments · May be fixed by #2098
Assignees
Labels
pr welcome Welcome contributions for newcomers v2.0 v2.0 version

Comments

@ErKeLost
Copy link
Member

ErKeLost commented Oct 21, 2024

Remodify the visualizer plugin introduced based on the new devserver based on the v2-dev branch

@ErKeLost ErKeLost changed the title refactor js plugin visualizer Refactor: js plugin visualizer Oct 21, 2024
@ErKeLost ErKeLost added v2.0 v2.0 version pr welcome Welcome contributions for newcomers labels Oct 21, 2024
@ErKeLost ErKeLost changed the title Refactor: js plugin visualizer [Refactor]: js plugin visualizer Oct 21, 2024
@nonzzz
Copy link
Member

nonzzz commented Feb 7, 2025

How about integration vite-bundle-analyzer? I think this is more modern and supports rollup like

@ErKeLost
Copy link
Member Author

ErKeLost commented Feb 7, 2025

hi @nonzzz

The current refactoring ideas for plugin visualizer are as follows

  1. Since v2 has modified the architecture of the entire node layer, the visualizer plugin needs to be readapted, such as adapting in the hook direction such as server (koa to http + connect).
  2. The current positioning of visualizer is to make a product similar to rsdoctor, and we will actively respond to these functions in the future.

I have read that vite-bundle-analyzer is very practical. The v2 version is a major version refactoring of farm. We expect to release it in the first quarter of 2025. v2 roadmap If you are willing to integrate its functions into js-plugin-visualize, it will be very exciting. Welcome to pr.

Tip:
Farm will gradually become incompatible with vite in v2. Since farm cannot guarantee that all attributes of vite can be proxied normally, this will increase maintenance costs. We expect that v3 will completely remove compatibility with vite and develop the farm rust plugin ecosystem.

@nonzzz
Copy link
Member

nonzzz commented Feb 7, 2025

I know, just checked the roadmap in a moment. AFAIK rsdoctor is a complex tool. about sdk,graph and etc it also provide a classical graph based on the webpack-bundle-analyzer. (Only use webpack-bundle-analyzer viewer). In my current architecture, I'm allowed similar things to be done and provide a data convert tool. Maybe i have time to check the node server at first then care of other works.

@nonzzz nonzzz linked a pull request Feb 19, 2025 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr welcome Welcome contributions for newcomers v2.0 v2.0 version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants