How to erase certain functionality?

Hello guys, I have a simple yet complicated question

I’ve made a Visual Novel using Unreal Engine 4, only using UMG, Widgets, and blueprints. Meaning I have no 3D rendering functionality at ALL. Not pawns, not meshes, not animations, not even materials.

I suppose when the game is built and packaged that functionality is included in the build. So, is there a way to not include all those things in the released game?

Sorry for my spelling horrors :3 And thanks in advance!