Safari Technology Preview 58 With Safari 12 Features

You can enable showing website icons in tabs in Safari’s Tabs preferences.

In case you really want icons in tabs but aren’t running Mohave.