BundleTransformer.UglifyJs contains one minifier-adapter for minification of JS code - `UglifyJsMinifier`. `UglifyJsMinifier` is based on the Mihai Bazon's UglifyJS.
$ dotnet add package BundleTransformer.UglifyJsBundleTransformer.UglifyJs contains one minifier-adapter for minification of JS code - UglifyJsMinifier.
UglifyJsMinifier is based on the Mihai Bazon's UglifyJS (https://github.com/mishoo/UglifyJS) version 2.8.29.
As a JS engine is used the JavaScript Engine Switcher library (https://github.com/Taritsyn/JavaScriptEngineSwitcher). For correct working of this module, you need to install one of the following NuGet packages:
After installing the packages, you will need to register the default JS engine (https://github.com/Taritsyn/JavaScriptEngineSwitcher/wiki/Registration-of-JS-engines).