Bundle Transformer: CSSO

BundleTransformer.Csso contains one minifier-adapter for minification of CSS-code - KryzhanovskyCssMinifier. KryzhanovskyCssMinifier is based on the Sergey Kryzhanovsky's CSSO (CSS Optimizer) version 2.3.1.

As a JS-engine is used the JavaScript Engine Switcher library. For correct working of this module is recommended to install the following NuGet packages: JavaScriptEngineSwitcher.Msie (only in the Chakra JsRT modes), JavaScriptEngineSwitcher.V8 or JavaScriptEngineSwitcher.ChakraCore. After package is installed and JS-engine is registered, need set a name of JavaScript engine (for example, MsieJsEngine) to the name attribute of /configuration/bundleTransformer/csso/jsEngine configuration element.

To make KryzhanovskyCssMinifier is the default CSS-minifier, you need to make changes to the Web.config file. In the defaultMinifier attribute of the \configuration\bundleTransformer\core\css element must be set value equal to KryzhanovskyCssMinifier.

Last edited Jan 9 at 7:31 AM by Taritsyn, version 15