Is it bad practise to use SquishIt to minify javascript which is already minifed?
-
14-04-2021 - |
Frage
In my project I've used quite a few minified scripts to improve performance.
However, amongst these scripts were quite a few un-minified ones too. Is it ok to use SquishIt to minify and bundle already minified scripts? Is it in any way dangerous for the minifier to process already minified code?
Lösung
Minified javascript is still valid javascript, a minifier should have no issues passing minified code through it's parser.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow