close
  • English
  • Resolver analysis

    Tip
    • Resolve analysis capability is not currently supported in Rspack projects.

    • The Resolver analysis capability is disabled by default. To enable it, you can add resolver to the features array as shown in the example below. features configuration.

    new rsdoctorWebpackPlugin({
      features: [
        'resolver',
        // ...other features
      ],
    });

    In the Rsdoctor Module Resolve section, we can see all the source files in the current Rspack project. By clicking on a file, we can view information such as the module paths imported in that file, the before and after resolution path comparison, and the resolution time, as shown in the following image:

    Glossary

    The fields in the data statistics table on the page are defined as follows:

    TermDescription
    Source CodeRepresents the source code of the import statement
    DurationRepresents the time taken for resolution
    Resolve ResultRepresents the final path after resolving the Source Code