web-infra-dev / rsdoctor

A one-stop build analyzer for Rspack and webpack.
https://rsdoctor.dev/
MIT License
447 stars 37 forks source link

[Bug]: The loader configuration causes the report of rspack’s builtin:swc-loader is missing. #166

Closed easy1090 closed 9 months ago

easy1090 commented 9 months ago

Version

System:
    OS: macOS 13.2.1
    CPU: (12) x64 Apple M2 Max
    Memory: 66.69 MB / 64.00 GB
    Shell: 5.8 - /usr/local/bin/zsh
  Browsers:
    Chrome: 121.0.6167.85
    Safari: 16.3
  npmPackages:
    @rsdoctor/rspack-plugin: 0.1.0 => 0.1.0

Details

When the loader configuration is as follows, the built-in: swc-loader will not be reported:

      {
        test: /\.(j|t)sx$/,
        loader: "builtin:swc-loader",
        exclude: [/[\\/]node_modules[\\/]/],
        options: {
        // .... ....
        },
      },
easy1090 commented 9 months ago

mr: #128