This project has moved and is read-only. For the latest updates, please go here.

Bundle Transformer: Clean-css

BundleTransformer.CleanCss contains one minifier-adapter for minification of CSS-code - CleanCssMinifier. CleanCssMinifier is based on the Clean-css version 4.1.3.

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, 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/clean/jsEngine configuration element.

To make CleanCssMinifier 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 CleanCssMinifier.

Last edited May 21 at 7:27 PM by Taritsyn, version 38