Can we pass directories in `assets_ignore`?

I want to ignore a directory completely inside assets folder. is it possible?

Hi,

Welcome to the community! :slightly_smiling_face:

Yes, it is possible, as assets_ignore accept regex patterns. From the API reference :

assets_ignore
A regex, as a string to pass to re.compile, for assets to omit from immediate loading. Ignored files will still be served if specifically requested. You cannot use this to prevent access to sensitive files.

Hope this helps!