as you are now ignoring all generated files, do we need to have both public and dist for it ?