Question

Can I exclude generated folders?

Answer

Yes, add generated output paths to exclusions if they should not be deployed from local package.