Static WordPress Community

Allow wildcard for "Directory and File Names to Ignore" option

Hi.

I have been trying several variations on the “Directory and File Names to Ignore”, but one thing I notice that it does not allow regex or even a simple wildcard such as “elements/**/dist/runtime.bundle.js”.

What I need is to be able to:
ignore “elements/somedir/dist/runtime.bundle.js”, but
allow “otherelements/dist/runtime.bundle.js”

Is there any way I can achieve the ignore rules above?

Thank you.