Added correct babel config which seems to work. Yay.