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

possible to make one with minify-html? it is faster #1

Open
sprappcom opened this issue Jul 31, 2024 · 1 comment
Open

possible to make one with minify-html? it is faster #1

sprappcom opened this issue Jul 31, 2024 · 1 comment

Comments

@sprappcom
Copy link

as titled

@PaulDotSH
Copy link
Owner

PaulDotSH commented Jul 31, 2024

as titled

You can do min_with("command") and the macro will append command input -o output_file
Can you check if that works with minify-html?
If not, how does it take arguments? Since I could add a min_with2 or something to also support it

Also since the way this crate is written, minifying slows down exponentially based on how many components and files you have, I would recommend having a separate production profile in cargo and only minifying when you build that binary

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

No branches or pull requests

2 participants