• Stars
    star
    384
  • Rank 111,726 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created 12 months ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A one-stop build analyzer for Rspack and Webpack.
Rsdoctor Banner

Rsdoctor

English | įŽ€äŊ“中文

💡 What is Rsdoctor?

  • Rsdoctor is a one-stop tool for diagnosing and analyzing the build process and build artifacts.
  • Rsdoctor is a tool that supports Webpack and Rspack build analysis.
  • Rsdoctor is an analysis tool that can display the time-consuming and behavioral details of the compilation.
  • Rsdoctor is a tool that can analyze the time-consuming and compilation process of the rspack builtin:swc-loader.

📌 Position

Rsdoctor is a build analysis tool for analyzing projects built with Rspack and Webpack. It supports analysis of projects such as Rsbuild, Create-react-app, Modern.js, and more.

duplicate packages

📚 Getting Started

To get started with Rsdoctor, see the Quick Start.

đŸ”Ĩ Features

  • Compilation Visualization: Rsdoctor visualizes the compilation behavior and time consumption, making it easy to view build issues.
loader timeline loader codes
  • Multiple Analysis Capabilities: Rsdoctor supports build artifact, build-time analysis, and anti-degradation capabilities:

    • Build artifact support for resource lists and module dependencies, etc.
    • Build-time analysis supports Loader, Plugin, and Resolver building process analysis, including: Rspack's builtin:swc-loader.
    • Build rules support duplicate package detection and ES Version Check, etc.
  • Support Custom Rules: In addition to built-in build scan rules, Rsdoctor also supports users adding custom component scan rules based on the build data of Rsdoctor.

  • Framework-Independent: Rsdoctor support all projects built on Webpack or Rspack.

🤝 Contribution

New contributors welcome!

Please read the Contributing Guide.

🧑‍đŸ’ģ Community

Come and chat with us on Discord! The Rsdoctor team and users are active there, and we're always looking for contributions.

đŸĒ Link

  • Rspack: A fast Rust-based web bundler.
  • Rsbuild: An Rspack-based build tool for the web, rebranded from Modern.js Builder.
  • Rspress: A fast Rspack-based static site generator.
  • Modern.js: A progressive React framework based on Rsbuild.

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

More Repositories

1

rspack

The fast Rust-based web bundler with webpack-compatible API đŸĻ€ī¸
Rust
9,468
star
2

modern.js

Modern.js is a web engineering system, including a web framework and a npm package solution.
TypeScript
4,421
star
3

garfish

A powerful micro front-end framework 🚚
TypeScript
2,498
star
4

oxc

⚓ A suite of high-performance tools for JavaScript and TypeScript written in Rust.
Rust
1,902
star
5

rspress

đŸĻ€đŸ’¨ A fast Rspack-based static site generator.
TypeScript
1,366
star
6

rsbuild

The Rspack-based build tool. It's fast, out-of-the-box and extensible.
TypeScript
1,241
star
7

rslib

The Rsbuild powered package build tool.
TypeScript
340
star
8

midscene

An AI-powered automation SDK can control the page, perform assertions, and extract data in JSON format using natural language.
HTML
309
star
9

rspack-sources

Rusty webpack-sources port.
Rust
119
star
10

awesome-rspack

A curated list of awesome things related to Rspack, Rsbuild and Rspress
107
star
11

webpack-inspector

Devtool for webpack.
TypeScript
96
star
12

mdx-rs

Rust MDX compilation binding for Rspress
Rust
83
star
13

reduck

A Redux-based state management library
TypeScript
75
star
14

rspack-website

Website of Rspack
TypeScript
60
star
15

swc-plugins

SWC plugins and binding
Rust
55
star
16

blogs

Web Infra team working group
36
star
17

modern-js-examples

Examples for Modern.js web engineering system
30
star
18

unport

A Universal Port with strict type inference capability for cross-JSContext communication.
TypeScript
29
star
19

nodejs_resolver

Rust
27
star
20

codesmith

Micro generator for development life-cycle.
TypeScript
23
star
21

electron-sprout

A front-end friendly desktop framework based on Electron.
TypeScript
20
star
22

rspack-dev-guide

A guide to how Rspack works and how to contribute to it.
17
star
23

deep-dive-into-tla

Blog Post - Deep Dive into Top-level await
16
star
24

rspack-resolver

Rust Port of enhanced-resolve
Rust
14
star
25

napi-template

Template for generating rust-based native projects
JavaScript
13
star
26

bundler-benchmark

JavaScript
10
star
27

web-infra-QoS

Web Infra QoS
TypeScript
10
star
28

rspack-ecosystem-ci

Rspack Ecosystem CI
TypeScript
9
star
29

rspack-repro

A GitHub template for create reproduction with Rspack fastly.
JavaScript
9
star
30

rspack-ecosystem-benchmark

JavaScript
8
star
31

rspack-migration-showcase

migration showcase for rspack
TypeScript
8
star
32

midscene-example

Examples for midscene
TypeScript
8
star
33

nde

A tool to speed up the deployment of node.js project and reduce the size of deployment products.
TypeScript
8
star
34

libuild

The home for various projects about libuild
TypeScript
7
star
35

webinfra.org

HTML
7
star
36

.github

The profile of Web Infra organization.
6
star
37

actions

TypeScript
6
star
38

rfcs

RFC for changes to web-infra projects
3
star
39

with-rspack-demo

Demo application that bundle with rspack
CSS
2
star
40

modern-js-dev.github.io

modernjs.dev
HTML
2
star
41

rspack-demo

A demo for rspack bundler
JavaScript
2
star
42

rspack-compat

JavaScript
2
star
43

module-tools-examples

module-tools examples
TypeScript
1
star
44

clabot-config

1
star
45

rspack-dev-server

Dev server of rspack
JavaScript
1
star
46

media

media resources for Rspack
1
star