chore(midway): fix output of page objects; ignore generated files