Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Question about rsbuild.inspectConfig custom output path outputPath #3023

Closed
cklwblove opened this issue Jul 26, 2024 · 5 comments
Closed
Assignees
Labels
🐞 bug Something isn't working

Comments

@cklwblove
Copy link

Version

System:
    OS: macOS 13.4
    CPU: (12) arm64 Apple M2 Pro
    Memory: 117.38 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Browsers:
    Chrome: 126.0.6478.183
    Safari: 16.5

Details

rsbuild.inspectConfig 的 outputPath(指定输出路径),这个值为什么要拼接 output.distPath.root ?难道只能支持在 output.distPath.root 这里进行指定吗?

image

Reproduce link

none

Reproduce Steps

none

@cklwblove cklwblove added the 🐞 bug Something isn't working label Jul 26, 2024
@chenjiahan chenjiahan changed the title [Bug]: rsbuild.inspectConfig 自定义输出路径 outputPath 的疑问 [Bug]: Question about rsbuild.inspectConfig custom output path outputPath Jul 26, 2024
@chenjiahan
Copy link
Member

It's just a convention, if you need to output to other folders, we can support passing an absolute path.

@chenjiahan chenjiahan self-assigned this Jul 26, 2024
@cklwblove
Copy link
Author

感谢回复。我个人觉得可以文档上加下这个说明。另外,以“输出路径”作为一个基本路径,为啥是一个惯例呢?不应该是以当前运行命令的目录作为基本路径吗

@chenjiahan
Copy link
Member

The output files of inspectConfig are just temporary files and should not be committed to git.

@cklwblove
Copy link
Author

好的,明白了。

@chenjiahan
Copy link
Member

Absolute output path will be supported in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants