Skip to content

Using with Rsdoctor causes crash #4

@binyamin

Description

@binyamin

Summary

Using this module with rsdoctor causes rslib (rspack?) to crash silently.

Expected Behavior

  1. There should be an error message!! The fact that there is no error log is itself a problem. If nothing else, there should be a way to enable verbose logging.
  2. rsdoctor should work as expected

Steps to Reproduce

The create-rslib tool uses "rsbuild-plugin-unplugin-vue"

  1. Run npm create rslib, choosing "Vue" as the template
  2. Add dependency "@rsdoctor/rspack-plugin"
  3. Run RSDOCTOR=true npm run build
  4. 👎 The URL opens in the browser, then the command exits, and the dashboard never loads.

The create-rsbuild tool uses "@rsbuild/plugin-vue"

  1. Run npm create rsbuild, choosing "Vue" as the framework
  2. Add dependency "@rsdoctor/rspack-plugin"
  3. Run RSDOCTOR=true npm run build
  4. 👍 The dashboard opens and it works, because we're using @rsbuild/plugin-vue

Build Info

  • Node.js LTS (v24.11.0)
  • Fedora Linux 43
"@rsbuild/core": "^1.6.0",
"@rsbuild/plugin-vue": "^1.2.0",
"@rsdoctor/rspack-plugin": "^1.3.8",
"@rslib/core": "^0.17.1",
"rsbuild-plugin-unplugin-vue": "^0.1.0",
"vue": "^3.5.24"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions