Skip to content
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

fix: ignore failures during minification #653

Merged
merged 2 commits into from
Dec 20, 2023
Merged

Conversation

ctron
Copy link
Collaborator

@ctron ctron commented Dec 20, 2023

If minification fails, then simply use the original content.

@ctron ctron added this to the 0.18.3 milestone Dec 20, 2023
src/processing/minify.rs Outdated Show resolved Hide resolved
If minification fails, then simply use the original content.
The documentation states it can be "dangerous", so better be on the
safe side. This also aligns with the defaults of minify_html.
@ctron ctron merged commit 3ac17f0 into trunk-rs:main Dec 20, 2023
5 checks passed
@ctron ctron deleted the feature/minify_1 branch December 20, 2023 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants