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]: output.filename #2044

Closed
ChenXplorer opened this issue Apr 9, 2024 · 2 comments
Closed

[Bug]: output.filename #2044

ChenXplorer opened this issue Apr 9, 2024 · 2 comments
Labels
🐞 bug Something isn't working

Comments

@ChenXplorer
Copy link

Version

Rsbuild v0.4.15

Details

output: {
filename: {
js:'[name].js?x=1'
},
},

query形式自定义名无法生效

Reproduce link

NONE

Reproduce Steps

see Details

@ChenXplorer ChenXplorer added the 🐞 bug Something isn't working label Apr 9, 2024
@9aoy
Copy link
Collaborator

9aoy commented Apr 9, 2024

根据你给的复现信息,测试下来是可以的。

Rsbuild 这里会把 distPath 和 filename 拼接然后传给 rspack 的 output.filename 配置,可以在 rspack / webpack 里验证你想要的具体功能是否支持。

image

20240409-205007

@ChenXplorer
Copy link
Author

了解了,我直接看的dist文件下的文件名

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