Visual Studio 2010: Publish minified javascript files instead of the original ones

后端 未结 5 1695
天命终不由人
天命终不由人 2020-12-07 17:57

I have a Scripts folder, that includes all the .js files used in the project. Using the Ajax Minifier task, I generate .min.js files for each one. Depending on whether the a

5条回答
  •  清歌不尽
    2020-12-07 18:44

    This article about "Automatically Minify, Combine, Compress, and Cache *.js and *.css Files in your ASP.NET Project" can maybe help you

    http://www.codeproject.com/KB/aspnet/CssAndJavaScriptOptimizer.aspx?display=Print

提交回复
热议问题