giuliov / hugo-vsts-extension

Generate a site using Hugo, a Fast and Flexible Website Generator, running in Visual Studio Team Services or Team Foundation Server.
MIT License
24 stars 15 forks source link

feat: introduce and support --minify parameter in hugo #14

Closed MrCSharp22 closed 2 years ago

MrCSharp22 commented 5 years ago

This PR is to support the --minify parameter in hugo which generates minified html,css, and js assets.

giuliov commented 5 years ago

Please be patient, I need some time to catch up with this project.

MrCSharp22 commented 5 years ago

That's ok mate, no rush.

appieschot commented 4 years ago

Any plans on finalizing this? Would love to have this in. If you want I am more than happy to help speed things up.

pavelstoev-lci commented 4 years ago

@appieschot @MrCSharp22 Useful PR. As a hack while we wait, add " --minify" to destination argument - worked like a charm for me.

https://github.com/giuliov/hugo-vsts-extension/blob/f4512a1623903b9cc41811961221c040319b561e/hugo-task/Invoke-Hugo.ps1#L25