Pack.fileOptions

Option fields applied to specific files. Filename extensions are to be omitted in keys.

If no option is found for a file, the entry of its parent directory will be checked, then the grandparent and so on until an empty string.

In JSON, the options property is an alias to an empty string key. Additionally, the JSON parser will inherit fields from the parent entries instead of using .init values.

Fields missing in the JSON will be inherited from parent directories or will use the default value.

class Pack
@JSONExclude
ResourceOptions[string] fileOptions;

Meta