Skip to content

Conversation

@karlseguin
Copy link
Collaborator

--noscript is deprecated (warning) and automatically maps to --strip_mode js

--strip_mode takes a comma separated list of values. From the help:

  • "js" script and link[as=script, rel=preload]
  • "ui" includes img, picture, video, css and svg
  • "css" includes style and link[rel=stylesheet]
  • "full" includes js, ui and css

Maybe this is overkill, but i sometimes find myself looking --dump outputs over and over again, and removing noise (like HUGE svgs) seems like a small improvement.

--noscript is deprecated (warning) and automatically maps to --strip_mode js

--strip_mode takes a comma separated list of values. From the help:

- "js" script and link[as=script, rel=preload]
- "ui" includes img, picture, video, css and svg
- "css" includes style and link[rel=stylesheet]
- "full" includes js, ui and css

Maybe this is overkill, but i sometimes find myself looking --dump outputs over
and over again, and removing noise (like HUGE svgs) seems like a small
improvement.
@karlseguin karlseguin merged commit 5e6d270 into main Sep 19, 2025
10 checks passed
@karlseguin karlseguin deleted the dump_strip_mode branch September 19, 2025 11:25
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants