v5 single-file offline build