Skip to content
Taritsyn edited this page May 29, 2024 · 3 revisions

BundleTransformer.Yui contains two minifier-adapters: YuiCssMinifier (for minification of CSS code) and YuiJsMinifier (for minification of JS code). These adapters perform minification by using the YUI Compressor for .NET version 2.7.0.

To make YuiCssMinifier is the default CSS minifier and YuiJsMinifier is the default JS minifier, you need to make changes to the Web.config file. In defaultMinifier attribute of /configuration/bundleTransformer/core/css element must be set value equal to YuiCssMinifier, and in same attribute of /configuration/bundleTransformer/core/js element - YuiJsMinifier.