Open peekxc opened 3 months ago
Hello. Currently there is no way to ignore files or specifically ensure that some files will be compressed. Besides these plugins were created for Eleventy 0.12-13 if I remember correctly, so we need to update them for sure.
How can I add files/paths to ignore?
Since the compression works on the output directory---not on the input-to-output cascade eleventy performs---it seems to be oblivious to paths added via
eleventyConfig.ignores.add
. For example, if I have a custom route leading to a file that doesn't exist on my local machine:The compression plugin detects the path and tries to compress it:
But there is no such file, so this just floods the output with errors.
Edit: seems related if not identical to #8