Is it bad practise to use SquishIt to minify javascript which is already minifed?

╄→гoц情女王★ 提交于 2019-12-23 23:59:39

问题


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?


回答1:


Minified javascript is still valid javascript, a minifier should have no issues passing minified code through it's parser.



来源:https://stackoverflow.com/questions/8730910/is-it-bad-practise-to-use-squishit-to-minify-javascript-which-is-already-minifed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!