Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Rust-based transformer/packager/optimizer for HTML and SVG #10090

Draft
wants to merge 13 commits into
base: v2
Choose a base branch
from

Conversation

devongovett
Copy link
Member

This replaces the posthtml-based transformer/packager/optimizer with a Rust-based one powered by html5ever, the HTML parser from Servo. For SVG optimization, it uses oxvg, an SVGO replacement written in Rust which uses Lightning CSS for CSS optimization.

Aside from being faster, this also reduces the number of npm dependencies to install, some of which haven't been maintained very much over the last few years.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant