AI-friendly build analyzer for Rspack
Rsdoctor
English | ็ฎไฝไธญๆ
Rsdoctor is a build analysis tool for the Rspack ecosystem. It visualizes the build process and output to help developers investigate build issues and identify performance bottlenecks. It also provides build data to agents for automated diagnosis and optimization of JavaScript programs.
๐ฅ Features
- Agent-Driven Analysis: Provides build data to agents for automated diagnosis and optimization of JavaScript programs
- Compilation Visualization: Visualize the compilation process and timing to troubleshoot build issues and identify performance bottlenecks
- Comprehensive Analysis: Analyze build output, inspect the build process, and run diagnostic checks:
- Output Analysis: Inspect assets, output sizes, and module dependencies
- Build Process Analysis: Inspect Loader and Plugin execution and module resolution
- Diagnostic Checks: Detect duplicate packages and check ECMAScript syntax versions to identify potential build issues
๐ Getting started
To get started with Rsdoctor, see the Quick Start.
๐ค Contribution
New contributors welcome!
Please read the Contributing Guide.
๐งโ๐ป Community
Come and chat with us on Discord! The Rstack team and users are active there, and we're always looking for contributions.
๐ฆ Rstack
Rsdoctor is part of Rstack, the fast, unified JavaScript toolchain for developers and agents.
| Name | Description | Version |
|---|---|---|
| Rspack | Bundler | |
| Rsbuild | Build tool | |
| Rslib | Library development tool | |
| Rspress | Static site generator | |
| Rsdoctor | Build analyzer | |
| Rstest | Testing framework | |
| Rslint | Linter |
๐ Code of conduct
This repo has adopted the ByteDance Open Source Code of Conduct. Please check Code of Conduct for more details.
๐ Credits
Some of the implementation of Rsdoctor refers to the excellent projects in the community, and we would like to thank them:
- bundle-stats is an excellent tool for analyzing build artifacts, and Rsdoctor is inspired by it in terms of build analysis.
- webpack-bundle-analyzer is a classic tool for analyzing Webpack, and Rsdoctor is inspired by it in terms of build artifact analysis. Rsdoctor also uses its classic treemap visualization.
- Statoscope is an excellent tool for analyzing build artifacts, and Rsdoctor is inspired by it in terms of build analysis.
- Webpack Team and Community have created an excellent bundling tool and a rich ecosystem.
- vite-plugin-inspect has inspired Rsdoctor's exploration of build process analysis.
This Rsdoctor website is powered by Netlify.
๐ License
Rsdoctor is licensed under the MIT License.