How can I remove 3D from my exported project ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ZacB

How can I remove 3D from my exported project to have a smaller game ?
Also, can you tell me other ways to reduce my project’s size ?

:bust_in_silhouette: Reply From: Calinou

Check out this page in the Godot documentation: Optimizing a build for size

Note that the optimize SCons flag is only available in the Git master branch (which will become Godot 3.1 in the future), not in 3.0.x and 2.1.x.