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.
#r "nuget: BundleTransformer.Core, 1.10.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install BundleTransformer.Core as a Cake Addin
#addin nuget:?package=BundleTransformer.Core&version=1.10.0

// Install BundleTransformer.Core as a Cake Tool
#tool nuget:?package=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.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.3 (supports the LibSass (http://sass-lang.com/libsass) version 3.6.5). 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.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.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 3.0.6 (supports the Andrey Sitnik's Autoprefixer (https://github.com/postcss/autoprefixer) version 10.2.5.0). 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.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).

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 255,532 12/26/2018
1.10.0-beta1 7,837 12/10/2018
1.9.213 54,405 10/2/2018
1.9.171 251,094 8/29/2017
1.9.171-beta1 723 8/25/2017
1.9.160 185,062 6/15/2017
1.9.152 71,923 3/3/2017
1.9.138 77,916 12/10/2016
1.9.92 235,191 3/8/2016
1.9.92-beta1 1,812 3/2/2016
1.9.92-alpha1 4,673 1/19/2016
1.9.89 107,997 12/20/2015
1.9.81 41,858 11/11/2015
1.9.81-beta1 986 11/4/2015
1.9.69 157,363 7/22/2015
1.9.52 123,894 3/30/2015
1.9.51 1,331 3/28/2015
1.9.43 32,645 1/31/2015
1.9.40 9,777 1/19/2015
1.9.39 1,795 1/18/2015
1.9.35 56,077 12/21/2014
1.9.34 4,997 12/19/2014
1.9.32 16,075 12/1/2014
1.9.30 41,449 11/24/2014
1.9.25 33,762 10/14/2014
1.9.24 2,505 10/8/2014
1.9.22 17,447 9/23/2014
1.9.13 40,402 8/7/2014
1.9.11 10,400 7/28/2014
1.9.5 8,342 6/30/2014
1.9.3 1,475 6/28/2014
1.9.2 1,404 6/26/2014
1.9.1 4,892 6/25/2014
1.9.0 5,549 6/23/2014
1.9.0-Beta3 1,782 6/21/2014
1.9.0-Beta2 1,123 6/16/2014
1.9.0-Beta1 1,651 6/13/2014
1.8.32 52,197 5/14/2014
1.8.30 10,199 4/28/2014
1.8.29 8,501 4/10/2014
1.8.23 63,498 2/21/2014
1.8.21 12,258 2/10/2014
1.8.20 13,542 2/4/2014
1.8.18 9,882 1/22/2014
1.8.17 20,110 12/7/2013
1.8.12 10,165 11/24/2013
1.8.11 19,136 11/7/2013
1.8.10 10,319 11/4/2013
1.8.9 10,343 10/25/2013
1.8.8 13,288 10/24/2013
1.8.7 5,156 10/16/2013
1.8.2 45,079 9/10/2013
1.8.0 3,086 9/5/2013
1.7.27 12,300 8/26/2013
1.7.24 5,460 8/12/2013
1.7.23 1,676 8/11/2013
1.7.21 3,794 8/4/2013
1.7.20 1,775 8/2/2013
1.7.19 6,482 7/24/2013
1.7.18 3,998 7/20/2013
1.7.16 13,230 7/11/2013
1.7.12-Beta1 5,452 6/4/2013
1.7.11-Beta1 1,204 5/29/2013
1.7.9-Beta1 1,707 5/27/2013
1.7.7-Beta1 2,058 5/3/2013
1.7.3-Beta1 2,216 4/12/2013
1.7.0-Beta1 2,003 3/19/2013
1.6.28 9,825 6/4/2013
1.6.26 5,206 5/28/2013
1.6.25 4,808 5/13/2013
1.6.24 22,122 3/6/2013
1.6.22 3,709 2/26/2013
1.6.21 1,731 2/19/2013
1.6.18 2,865 2/5/2013
1.6.17 3,192 1/23/2013
1.6.14 4,421 1/2/2013
1.6.13 5,508 12/4/2012
1.6.11 3,019 11/22/2012
1.6.10 2,122 11/17/2012
1.6.6 9,013 10/15/2012
1.6.5 2,040 10/11/2012
1.6.1 3,564 9/20/2012
1.6.0 3,183 9/12/2012
1.5.5 1,999 8/29/2012
1.5.0 13,144 8/16/2012
1.4.3-beta3 2,467 8/1/2012
1.4.2-beta3 1,695 6/23/2012
1.4.1-beta3 1,307 6/19/2012
1.4.0-beta2 1,382 6/6/2012
1.3.0-beta 1,469 5/16/2012
1.2.1-beta 1,424 4/8/2012
1.2.0-beta 1,619 4/3/2012
1.1.0-beta 1,384 3/29/2012
1.0.0-beta 1,202 3/25/2012