web-infra-dev / rsdoctor

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

[Feature]: Use @rsdoctor/cli to open the report which it's .rsdoctor dir has been uploaded the online cdn. #241

Open easy1090 opened 5 months ago

easy1090 commented 5 months ago

What problem does this feature solve?

When building a project on GitLab, the .rsdoctor files are uploaded to an OSS service. However, when I use the command @rsdoctor/cli analyze --profile https://ossservicepath/.rsdoctor/manifest.json locally, it results in a 'no such file or directory' error. After reviewing the rsdoctor code, it appears that I need to replace the path of the manifest.json file with the oss service path. But I haven't found any options in the configuration to replace the file path. I would like to inquire if the current generation of the manifest.json file supports controlling and customizing the path.