Does Godot remove new lines, empty spaces, and comments or should I write my own bash script that does that?

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

When building a project, to the various platforms, does Godot remove new lines, empty spaces, and comments or should I write my own bash script that does that?

IIRC, when a game is exported, all of the unnecessary stuff (the spaces, end lines, and hashes which contain comments) are stripped out. This is common among compilers and interpreters.

Ertain | 2019-08-04 00:01