Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
.
Summary by CodeRabbit
BuildParams
结构体中移除了asciiOnly
字段。JsAst
实现中,with_ascii_only
方法调用现在始终将值设置为true
,而不是使用context.config.output.ascii_only
中的值。OutputConfig
结构体中移除了ascii_only
字段,并调整了DEFAULT_CONFIG
常量中的默认值。config.md
中对输出相关的配置设置进行了修改,特别是移除了asciiOnly
选项并调整了类型定义的结构。str_impl.rs
模块中,将with_ascii_only(context.config.output.ascii_only)
更改为with_ascii_only(with_minify)
。