是否有缩小JavaScript一个.net库?JavaScript、net

2023-09-02 20:47:21 作者:落笔画忧愁

我编程方式从.NET Web应用程序创建JavaScript文件,并想将它传递给用户之前中缩小吗?是否有一个图书馆或技术飞这样做呢?

I'm programatically creating javascript files from a .NET web app, and would like to minify it before passing it on to the user? Is there a library or technique for doing this on the fly?

感谢

推荐答案

如果你只是希望能够将其保存到一个文件之前中缩小在C#中的JavaScript字符串,我会请使用的