BundleTransformer.Core 1.9.92-alpha1

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

The main differences of `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 `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, 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 YSlow.

This is a prerelease version of BundleTransformer.Core.
There is a newer version of this package available.
See the version list below for details.
Install-Package BundleTransformer.Core -Version 1.9.92-alpha1
dotnet add package BundleTransformer.Core --version 1.9.92-alpha1
<PackageReference Include="BundleTransformer.Core" Version="1.9.92-alpha1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BundleTransformer.Core --version 1.9.92-alpha1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Removed `MimeTypeHelpers` class.

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.2 (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 2.0.1 (supports the Andrey Sitnik's Autoprefixer (https://github.com/postcss/autoprefixer) version 10.0.1.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.

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 163,017 12/26/2018
1.10.0-beta1 7,518 12/10/2018
1.9.213 42,820 10/2/2018
1.9.171 209,778 8/29/2017
1.9.171-beta1 517 8/25/2017
1.9.160 152,593 6/15/2017
1.9.152 67,126 3/3/2017
1.9.138 68,271 12/10/2016
1.9.92 210,719 3/8/2016
1.9.92-beta1 910 3/2/2016
1.9.92-alpha1 3,081 1/19/2016
1.9.89 98,786 12/20/2015
1.9.81 33,568 11/11/2015
1.9.81-beta1 657 11/4/2015
1.9.69 134,894 7/22/2015
1.9.52 108,783 3/30/2015
1.9.51 1,047 3/28/2015
1.9.43 27,772 1/31/2015
1.9.40 8,872 1/19/2015
1.9.39 1,434 1/18/2015
1.9.35 44,142 12/21/2014
1.9.34 4,002 12/19/2014
1.9.32 15,390 12/1/2014
1.9.30 34,926 11/24/2014
1.9.25 28,131 10/14/2014
1.9.24 2,177 10/8/2014
1.9.22 14,391 9/23/2014
1.9.13 31,036 8/7/2014
1.9.11 8,014 7/28/2014
1.9.5 7,047 6/30/2014
1.9.3 947 6/28/2014
1.9.2 1,183 6/26/2014
1.9.1 3,921 6/25/2014
1.9.0 4,114 6/23/2014
1.9.0-Beta3 835 6/21/2014
1.9.0-Beta2 712 6/16/2014
1.9.0-Beta1 822 6/13/2014
1.8.32 43,660 5/14/2014
1.8.30 9,026 4/28/2014
1.8.29 7,326 4/10/2014
1.8.23 58,253 2/21/2014
1.8.21 11,429 2/10/2014
1.8.20 12,624 2/4/2014
1.8.18 7,639 1/22/2014
1.8.17 17,297 12/7/2013
1.8.12 7,715 11/24/2013
1.8.11 16,097 11/7/2013
1.8.10 8,037 11/4/2013
1.8.9 9,279 10/25/2013
1.8.8 11,693 10/24/2013
1.8.7 4,242 10/16/2013
1.8.2 41,359 9/10/2013
1.8.0 2,248 9/5/2013
1.7.27 10,154 8/26/2013
1.7.24 4,880 8/12/2013
1.7.23 1,382 8/11/2013
1.7.21 2,843 8/4/2013
1.7.20 1,365 8/2/2013
1.7.19 5,416 7/24/2013
1.7.18 2,524 7/20/2013
1.7.16 12,206 7/11/2013
1.7.12-Beta1 4,775 6/4/2013
1.7.11-Beta1 943 5/29/2013
1.7.9-Beta1 878 5/27/2013
1.7.7-Beta1 1,215 5/3/2013
1.7.3-Beta1 1,891 4/12/2013
1.7.0-Beta1 1,060 3/19/2013
1.6.28 9,211 6/4/2013
1.6.26 3,875 5/28/2013
1.6.25 4,029 5/13/2013
1.6.24 18,363 3/6/2013
1.6.22 3,364 2/26/2013
1.6.21 1,499 2/19/2013
1.6.18 2,184 2/5/2013
1.6.17 2,885 1/23/2013
1.6.14 3,855 1/2/2013
1.6.13 4,607 12/4/2012
1.6.11 2,056 11/22/2012
1.6.10 1,307 11/17/2012
1.6.6 7,295 10/15/2012
1.6.5 1,321 10/11/2012
1.6.1 2,502 9/20/2012
1.6.0 2,441 9/12/2012
1.5.5 1,296 8/29/2012
1.5.0 7,314 8/16/2012
1.4.3-beta3 1,923 8/1/2012
1.4.2-beta3 1,139 6/23/2012
1.4.1-beta3 763 6/19/2012
1.4.0-beta2 891 6/6/2012
1.3.0-beta 859 5/16/2012
1.2.1-beta 911 4/8/2012
1.2.0-beta 1,167 4/3/2012
1.1.0-beta 903 3/29/2012
1.0.0-beta 793 3/25/2012
Show less