BundleTransformer.Core 1.10.0

Bundle Transformer - a modular extension for the System.Web.Optimization (also known as the Microsoft ASP.NET Web Optimization Framework). `StyleTransformer` and `ScriptTransformer` classes, included in the core of Bundle Transformer and implement the `IBundleTransform` interface. They are intended to replace the standard classes: `CssMinify` and `JsMinify`.

The main differences of the `StyleTransformer` and `ScriptTransformer` classes from a standard implementations: ability to exclude unnecessary assets when adding assets from a directory, does not produce the re-minification of pre-minified assets, support automatic transformation of relative paths to absolute in CSS code (by using the `UrlRewritingCssPostProcessor`), etc. These classes do not produce the minification of code in runtime, but this feature can be added by installing of minifier-modules (now available modules based on Microsoft Ajax Minifier, YUI Compressor for .NET, NUglify, Google Closure Compiler, Douglas Crockford's JSMin, Dean Edwards' Packer, Mihai Bazon's UglifyJS, Sergey Kryzhanovsky's CSSO (CSS Optimizer), WebGrease and Clean-css). In addition, you can also install translator-modules, that implement the translation of code on intermediate languages (LESS, Sass, SCSS, CoffeeScript, TypeScript, Mustache (by using Hogan) and Handlebars). Apart from this, in the Bundle Transformer there is a third type of modules - postprocessors. Postprocessors runs after translators and before minifiers. Now available following postprocessors: URL rewriting CSS postprocessor (included in core) and postprocessor-module based on the Andrey Sitnik's Autoprefixer.

This extension will help your web applications successfully pass a most part of the tests in Google PageSpeed.

Install-Package BundleTransformer.Core -Version 1.10.0
dotnet add package BundleTransformer.Core --version 1.10.0
<PackageReference Include="BundleTransformer.Core" Version="1.10.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BundleTransformer.Core --version 1.10.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

1. Part of the auxiliary code was replaced by the AdvancedStringBuilder;
2. Improved a performance of the `SourceCodeNavigator` class;
3. `InterlockedStatedFlag` and `StatedFlag` classes have been moved to the `BundleTransformer.Core.Utilities` namespace.

NuGet packages (23)

Showing the top 5 NuGet packages that depend on BundleTransformer.Core:

Package Downloads
BundleTransformer.Less
BundleTransformer.Less contains one translator-adapter - `LessTranslator` (supports the LESS (http://lesscss.org) version 3.9.0). This adapter makes translation of LESS code to CSS code. Also contains the `LessAssetHandler` debugging HTTP handler, which is responsible for text output of translated LESS asset. BundleTransformer.Less does not support loading of plugins. 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: JavaScriptEngineSwitcher.Msie (only in the Chakra JsRT modes), JavaScriptEngineSwitcher.V8 or JavaScriptEngineSwitcher.ChakraCore.
BundleTransformer.MicrosoftAjax
BundleTransformer.MicrosoftAjax contains two minifier-adapters: `MicrosoftAjaxCssMinifier` (for minification of CSS code) and `MicrosoftAjaxJsMinifier` (for minification of JS code). These adapters perform minification by using the Microsoft Ajax Minifier (https://ajaxmin.codeplex.com).
BundleTransformer.SassAndScss
BundleTransformer.SassAndScss contains one translator-adapter - `SassAndScssTranslator`. This adapter makes translation of Sass and SCSS code to CSS code by using the LibSass Host for .NET (https://github.com/Taritsyn/LibSassHost) version 1.3.1 (supports the LibSass (http://sass-lang.com/libsass) version 3.6.4). Also contains the `SassAndScssAssetHandler` debugging HTTP handler, which is responsible for text output of translated Sass or SCSS asset. This package does not contain the native implementations of LibSass for Windows. Therefore, you need to choose and install the most appropriate package(s) for your platform. The following packages are available: * LibSassHost.Native.win-x86 * LibSassHost.Native.win-x64
BundleTransformer.Yui
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 (https://github.com/YUICompressor-NET/YUICompressor.NET).
BundleTransformer.Autoprefixer
BundleTransformer.Autoprefixer contains one postprocessor-adapter for postprocessing of CSS code - `AutoprefixCssPostProcessor`. This adapter makes actualization of vendor prefixes in CSS code by using the Autoprefixer Host for .NET (https://github.com/Taritsyn/AutoprefixerHost) version 1.1.11 (supports the Andrey Sitnik's Autoprefixer (https://github.com/postcss/autoprefixer) version 9.8.6). 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: JavaScriptEngineSwitcher.Msie (only in the Chakra “Edge” JsRT mode), JavaScriptEngineSwitcher.V8 or JavaScriptEngineSwitcher.ChakraCore.

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on BundleTransformer.Core:

Repository Stars
stride3d/stride
Stride Game Engine (formerly Xenko)
smartstore/SmartStoreNET
Open Source ASP.NET MVC Enterprise eCommerce Shopping Cart Solution
Taritsyn/WebMarkupMin
The Web Markup Minifier (abbreviated WebMarkupMin) - a .NET library that contains a set of markup minifiers. The objective of this project is to improve the performance of web applications by reducing the size of HTML, XHTML and XML code.
levibotelho/LearnAngular
The open source code repository for LearnAngular.

Version History

Version Downloads Last updated
1.10.0 149,746 12/26/2018
1.10.0-beta1 7,480 12/10/2018
1.9.213 40,662 10/2/2018
1.9.171 203,780 8/29/2017
1.9.171-beta1 493 8/25/2017
1.9.160 147,594 6/15/2017
1.9.152 66,106 3/3/2017
1.9.138 66,908 12/10/2016
1.9.92 207,483 3/8/2016
1.9.92-beta1 879 3/2/2016
1.9.92-alpha1 2,970 1/19/2016
1.9.89 96,920 12/20/2015
1.9.81 31,890 11/11/2015
1.9.81-beta1 632 11/4/2015
1.9.69 130,995 7/22/2015
1.9.52 106,536 3/30/2015
1.9.51 1,017 3/28/2015
1.9.43 27,289 1/31/2015
1.9.40 8,789 1/19/2015
1.9.39 1,400 1/18/2015
1.9.35 42,627 12/21/2014
1.9.34 3,965 12/19/2014
1.9.32 15,316 12/1/2014
1.9.30 33,813 11/24/2014
1.9.25 27,502 10/14/2014
1.9.24 2,149 10/8/2014
1.9.22 13,882 9/23/2014
1.9.13 29,945 8/7/2014
1.9.11 7,703 7/28/2014
1.9.5 6,956 6/30/2014
1.9.3 920 6/28/2014
1.9.2 1,157 6/26/2014
1.9.1 3,884 6/25/2014
1.9.0 4,009 6/23/2014
1.9.0-Beta3 810 6/21/2014
1.9.0-Beta2 688 6/16/2014
1.9.0-Beta1 799 6/13/2014
1.8.32 42,510 5/14/2014
1.8.30 8,961 4/28/2014
1.8.29 7,277 4/10/2014
1.8.23 57,645 2/21/2014
1.8.21 11,262 2/10/2014
1.8.20 12,575 2/4/2014
1.8.18 7,322 1/22/2014
1.8.17 16,879 12/7/2013
1.8.12 7,518 11/24/2013
1.8.11 15,720 11/7/2013
1.8.10 7,669 11/4/2013
1.8.9 9,162 10/25/2013
1.8.8 11,421 10/24/2013
1.8.7 4,192 10/16/2013
1.8.2 40,656 9/10/2013
1.8.0 2,218 9/5/2013
1.7.27 9,821 8/26/2013
1.7.24 4,817 8/12/2013
1.7.23 1,354 8/11/2013
1.7.21 2,817 8/4/2013
1.7.20 1,339 8/2/2013
1.7.19 5,291 7/24/2013
1.7.18 2,497 7/20/2013
1.7.16 12,169 7/11/2013
1.7.12-Beta1 4,704 6/4/2013
1.7.11-Beta1 920 5/29/2013
1.7.9-Beta1 855 5/27/2013
1.7.7-Beta1 1,191 5/3/2013
1.7.3-Beta1 1,868 4/12/2013
1.7.0-Beta1 1,037 3/19/2013
1.6.28 9,173 6/4/2013
1.6.26 3,828 5/28/2013
1.6.25 4,005 5/13/2013
1.6.24 17,841 3/6/2013
1.6.22 3,335 2/26/2013
1.6.21 1,472 2/19/2013
1.6.18 2,161 2/5/2013
1.6.17 2,851 1/23/2013
1.6.14 3,817 1/2/2013
1.6.13 4,576 12/4/2012
1.6.11 2,026 11/22/2012
1.6.10 1,282 11/17/2012
1.6.6 7,205 10/15/2012
1.6.5 1,295 10/11/2012
1.6.1 2,450 9/20/2012
1.6.0 2,417 9/12/2012
1.5.5 1,270 8/29/2012
1.5.0 6,520 8/16/2012
1.4.3-beta3 1,898 8/1/2012
1.4.2-beta3 1,115 6/23/2012
1.4.1-beta3 737 6/19/2012
1.4.0-beta2 866 6/6/2012
1.3.0-beta 833 5/16/2012
1.2.1-beta 886 4/8/2012
1.2.0-beta 1,142 4/3/2012
1.1.0-beta 853 3/29/2012
1.0.0-beta 770 3/25/2012