YUI Compressor and .NET Apps

前端 未结 4 1338
失恋的感觉
失恋的感觉 2021-02-02 01:09

I want to use YUI Compressor (the original) and use it as part of typical MS build processes (Visual Studio 2008, MSBuild).

Does anyone have any guidance or thoughts on

4条回答
  •  甜味超标
    2021-02-02 02:10

    I've used compiler directives for my script includes- for example (in the master page);

      ...
      <% #if RELEASE %>
        
      <% #else %>
        
        
      <% #endif %>
    
    
    

    Then in the build process my various .js files are combined all into one conbined.min.js file.

提交回复
热议问题