Emit modules that contain only const enums, if the preserveConstEnum flag is provided.