Export as pack without dependencies

Godot Version

4.3

Question

Hi! I am trying to make my game mod-friendly. I have tried out-of-tree approach for building a simple mod (it was really inconvenient) and I am now trying in-tree approach, where mod folder is part of game tree.
For that to work, I need to be able to export as pack only this mod folder - and nothing outside of it. However, the only available option I see in Export menu is to export with dependencies and indeed, as advertised, there are a lot of additional files.
There only working option so far is to add every other folder to “Filters to exclude files/folders from project” - but this is very error prone. I need to have one export preset for every mod, and every time I add some folder to root, I need to go and manually add new this folter to each and every preset.

Is there some better way to develop mods and mod-friendly games?

There is an open proposal and a pull request to add this functionality, but in the meantime there is a workaround described here:

Use export with “export all resources in the project except the resources checked below” and :check_box_with_check: everything you don’t want in the pck.