Hi everyone,
I was wondering if the *.js.map
files on the server are required to be there in order to guarantee a frictionless upgrade. Otherwise I would like to delete them in order to save space, as they’re taking up a significant amount of space:
web1@ssd1:~/htdocs/nextcloud$ find -type f -name '*js.map' -exec du -ch {} + | grep total
157M total
web1@ssd1:~/htdocs/nextcloud$
As far as I know, those files are only there to provide mapping for the minimized JS-files and are therefore mainly used when debugging the app. For what it’s worth, I don’t think they should even ship at all in a release.
TL;DR: can I safely delete them without getting in trouble on the next upgrade?