How can the HTML files from the library be overwritten?
I need to overwrite this template:
lib/web/mage/gallery/gallery.html
I have tried placing the file in my own theme in the below locations, I've cleared my cache between each file move.
app/design/frontend/**VENDOR**/**THEME**/web/mage/gallery/gallery.html
app/design/frontend/**VENDOR**/**THEME**/web/gallery/gallery.html
app/design/frontend/**VENDOR**/**THEME**/web/lib/mage/gallery/gallery.html
app/design/frontend/**VENDOR**/**THEME**/web/lib/gallery/gallery.html
app/design/frontend/**VENDOR**/**THEME**/mage/gallery/gallery.html
app/design/frontend/**VENDOR**/**THEME**/web/template/gallery/gallery.html
I've read through the dev docs and can't see anything mentioned in there either.
lib/web/mage/gallery/gallery.html
andvendor/magento/magento2-base/lib/web/mage/gallery/gallery.html
?/lib
and/vendor/magento/magento2-base/lib
are the same. If you check all the files there I think they will all be identical.