UGCExample Project build without Mods


I am using UE Source 4.27.1 and created a Mod in the example project. Now that I have a mod how do I package the base game without the mod? I tried to add the mod directory to ‘directories never to cook’ package settings but this does not give me a working result.