What you’re describing is the typical output / function of a minifier