Possible to exclude resources in bundle?

I’m wondering if it’s possible to exclude an asset present in a page bundle? I have a bundle that looks roughly like this:


images/foo.jpg is heavily processed by my template and is never displayed raw, yet it still gets copied to the production build. Is it possible to exclude the original from the build somehow as part of the build process?

I guess I could have a post-process that just deletes those images, but it’d be nice if Hugo could do it.


That’s exactly what I was looking for! I missed that setting. Thank you.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.