exclude Option not working
subhankar-trisetra opened this issue · comments
compress({
exclude: [(file: string) => file.includes('/_astro/') && (file.endsWith('.png') || file.endsWith('.jpg') || file.endsWith('.jpeg'))],
}),
I've the above option set, yet it compresses the png files in the _astro folder
Try Exclude
. These are the current docs - https://github.com/NikolaRHristov/astro-compress. They will soon be synchronized with https://github.com/astro-community/astro-compress.