Minify jQuery based js files

前端 未结 5 915
别那么骄傲
别那么骄傲 2020-12-13 05:08

We are using jQuery in our project. We have numerous custom javascript files in our web-app that have UDFs utilizing the jQuery features. We need to reduce the size (as a pa

5条回答
  •  心在旅途
    2020-12-13 05:36

    There's also a .NET port of YUI Compressor which allows you to:-

    • intergrate the minification/file combining into Visual Studio post-build events
    • intergrate into a TFS Build (including CI)
    • if you wish to just use the dll's in your own code (eg. on the fly minification).

    because this is a port of the (original) java version YUI Compressor, which a few peeps mention above, it should give you the same results BUT all in the .NET environment -- no need for java.

    HTH.

提交回复
热议问题