Improve frontend builds