Skip to content

NUglify

Taritsyn edited this page Aug 14, 2024 · 39 revisions

BundleTransformer.NUglify contains two minifier-adapters: NUglifyCssMinifier (for minification of CSS code) and NUglifyJsMinifier (for minification of JS code). These adapters perform minification by using the NUglify version 1.21.9.

To make NUglifyCssMinifier is the default CSS minifier and NUglifyJsMinifier 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 NUglifyCssMinifier, and in same attribute of /configuration/bundleTransformer/core/js element - NUglifyJsMinifier.