web-infra-dev/rsdoctor

TypeScriptrsdoctor.rs

AI-friendly build analyzer for Rspack

analyzebundlerspackwebpackbuild-analyzerhacktoberfestrstack
스타 성장
스타
1.1k
포크
107
주간 성장
+6
이슈
9
5001k
2023년 12월2024년 11월2025년 11월2026년 10월
아티팩트npm
README
Rsdoctor Banner

Rsdoctor

discord channel npm version downloads license

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 npm version
Rsbuild Build tool npm version
Rslib Library development tool npm version
Rspress Static site generator npm version
Rsdoctor Build analyzer npm version
Rstest Testing framework npm version
Rslint Linter npm version

🙌 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.