Resource File Retrieving - FiveM '__resource.lua' Request

My idea is to add wildcards like these to grab anything matching that wildcard and include it in the resource.

client_scripts {'client/*.lua'}
files {'nui/*.*'}

I think this would help with reducing additional resources that depend on a framework.

(It would also be nice to have modules for frameworks, which this addition would add)

I think that is already a thing? I dont think the files one will work but if you did nui/*.js I believe the collective made that work now.

I could be wrong and I dont wanna check but I swore I heard something about that working.

Already long since supported for client_script, server_script, shared_script, file and data_file. :confused:

2 Likes