Skip to content

WebGrease

Taritsyn edited this page May 29, 2024 · 3 revisions

BundleTransformer.WG contains one minifier-adapter for minification of CSS code - WgCssMinifier. WgCssMinifier is based on the WebGrease Semantic CSS minifier version 1.6.0.

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