-
Notifications
You must be signed in to change notification settings - Fork 29
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]: if I don’t set minify to true, the code after building is not compressed #626
Comments
I think this is an issue with the rslib documentation, the minify default value of rslib is different from that of rsbuild. |
Sorry, I didn't pay attention to the repository. I opened github from the rslib document. I don't know why it jumped to rsbuild, so I asked the question directly. |
@wjw-gavin where is this from? |
|
In library development, minify is not a necessary option, which is very detrimental to the readability of the output. The default value of Rslib is somewhere different with Rsbuild, we will declare it in Rslib documentation. Thank you for your wise eyes to discover the shortcomings of Rslib documentation now. |
OK, The jump between the two documents makes me a little dizzy. 😂 |
I will improve that to introduce the difference between Rsbuild next week. |
Version
Details
The default setting in the docs is
true
, but I found that if I don’t setminify: true
, the code after building is not compressed. Please check this.Reproduce link
https://github.com/web-infra-dev/rslib
Reproduce Steps
pnpm build
The text was updated successfully, but these errors were encountered: