In the event that there are assets with the same name but different extensions (e.g. image.png and image.dds), it can be helpful to ignore certain file extensions when loading assets with cargo. This change allows you to specify a loader of false to prevent cargo from loading files of a given type.
This isn't a perfect solution, as it does not allow for ignoring assets based on their name or their path. A table of patterns similar to the processors option could be a future improvement.
In the event that there are assets with the same name but different extensions (e.g.
image.png
andimage.dds
), it can be helpful to ignore certain file extensions when loading assets with cargo. This change allows you to specify a loader offalse
to prevent cargo from loading files of a given type.This isn't a perfect solution, as it does not allow for ignoring assets based on their name or their path. A table of patterns similar to the
processors
option could be a future improvement.Fixes #4.