Skip to content

[rustdoc] re-add --disable-minification #129908

Closed
@lolbinarycat

Description

@lolbinarycat

the line to change would be in write_shared.rs:154:
cx.shared.fs.write(filename, f.minified())

this should use f.bytes instead of f.minified() if the --no-minify flag is specified.

this flag would mostly be useful for debugging rustdoc itself, allowing js and css errors to accurately report line numbers.

Metadata

Metadata

Assignees

Labels

C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions