@tadano It will be replaced the next time you install deb package. If you want it to be preserved during upgrades you can install the modified frontend separately and then change web_client_dir parameter in config file. Not great, I know.
How they do it in Pleroma?