Exclude folder from HUGO minify?

Hello all,

I am working on getting my site to work with AMP, all is fine with my templates how ever when I use the hugo minify command my AMP pages are no longer valid and give me errors using the office validator, as it strips out some spaces or something along those lines.

Is there a way for HUGO to exclude the minify command on the AMP folder? It validates perfectly when I don´t use hugo minify but then that beats the point of using the command.

Thanks in advance.

After some research I think it’s the minification strips out some white spaces in the CSS, hence the AMP validation error :-/