I've found a review (in French) of a revival of the original opera La Esméralda. This had a libretto by Victor Hugo and music by Louise Bertin. I haven't heard any of this, but I had a look at the libretto recently. It makes Phœbus the romantic hero. At the end, he saves Esméralda, but keels over dead because his old wound has re-opened, she then faints on top of him, saying she's going to follow him! Claude then exclaims, "Oh Fatality!" and the curtain falls. It sounds utterly ghastly, and despite Hugo scripting it, I'd be reluctant to consider it canon!