Yui Compressor .NET Configuration

(see: http://yuicompressor.codeplex.com)

Xpedite Configuration
  <configuration>
    <xpedite>
      <minification>
        <css 
          minifier="Xpedite.Minification.YuiCompressor.YuiCompressorCssMinifier, 
                    Xpedite.Minification.YuiCompressor,PublicKeyToken=407a2136d535326a" 
          mode="On" />
        <javascript 
          minifier="Xpedite.Minification.YuiCompressor.YuiCompressorJavaScriptMinifier, 
                    Xpedite.Minification.YuiCompressor,PublicKeyToken=407a2136d535326a" 
          mode="On" />
      </minification>
    </xpedite>
  </configuration>


Yui Compressor .NET Configuration (Optional)
  <configSections>
    <section 
      name="xpedite.yuiCompressor"
      type="Xpedite.Minification.YuiCompressor.Config.ConfigSectionHandler, 
            Xpedite.Minification.YuiCompressor, PublicKeyToken=407a2136d535326a" 
      requirePermission="false"/>
  </configSections>

  <xpedite.yuiCompressor>
    <css columnWidth="0"
         compressionType="StockYuiCompressor"
      />
    <javascript isVerboseLogging="true"
                isObfuscateJavascript="true"
                preserveAllSemicolons="false"
                disableOptimizations="false"
                lineBreakPosition="-1"
                encoding=""
                threadCulture="en-GB"
                isEvalIgnored="false"
    />
  </xpedite.yuiCompressor>


Note: Above options represent the default configuration; please see http://yuicompressor.codeplex.com for specifics on changing default configuration. I would recommend not adding the above config section unless required as the default options are typically recommended.

Last edited Aug 2, 2010 at 10:24 PM by CBaxter, version 12

Comments

No comments yet.