BundleTransformer.Core 1.6.5

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

The main differences classes CssTransformer and JsTransformer from standard implementations: automatic removal of duplicate assets, ability to exclude unnecessary assets when adding assets from a directory, support processing of JS-files with *.debug.js extension, does not produce the re-minification of code of pre-minified assets, support  automatic transformation of relative paths to absolute in CSS-code (for CssTransformer), etc. These classes do not produce the minification of code in runtime, but this feature can be added by installing of minifier-adapter (now available adapters based on Microsoft Ajax Minifier, YUI Compressor for .NET, Google Closure Compiler, Douglas Crockford's JSMin, Mihai Bazon's UglifyJS, Dean Edwards' Packer, Sergey Kryzhanovsky's CSSO (CSS Optimizer) and WebGrease). In addition, you can also install translator-adapters that implement the translation of code on intermediate languages (LESS, Sass, SCSS, CoffeeScript and TypeScript).

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

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

Release Notes

In the configuration elements css and js added attribute usePreMinifiedFiles, which enables/disables usage of pre-minified files.

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.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.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.5 (supports the Andrey Sitnik's Autoprefixer (https://github.com/postcss/autoprefixer) version 10.2.4.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 208,838 12/26/2018
1.10.0-beta1 7,749 12/10/2018
1.9.213 48,871 10/2/2018
1.9.171 232,963 8/29/2017
1.9.171-beta1 658 8/25/2017
1.9.160 169,808 6/15/2017
1.9.152 70,018 3/3/2017
1.9.138 73,924 12/10/2016
1.9.92 224,927 3/8/2016
1.9.92-beta1 1,544 3/2/2016
1.9.92-alpha1 4,173 1/19/2016
1.9.89 104,754 12/20/2015
1.9.81 38,763 11/11/2015
1.9.81-beta1 883 11/4/2015
1.9.69 148,278 7/22/2015
1.9.52 117,565 3/30/2015
1.9.51 1,233 3/28/2015
1.9.43 30,331 1/31/2015
1.9.40 9,430 1/19/2015
1.9.39 1,642 1/18/2015
1.9.35 49,378 12/21/2014
1.9.34 4,650 12/19/2014
1.9.32 15,809 12/1/2014
1.9.30 38,910 11/24/2014
1.9.25 31,322 10/14/2014
1.9.24 2,410 10/8/2014
1.9.22 16,129 9/23/2014
1.9.13 36,020 8/7/2014
1.9.11 9,529 7/28/2014
1.9.5 7,793 6/30/2014
1.9.3 1,304 6/28/2014
1.9.2 1,337 6/26/2014
1.9.1 4,546 6/25/2014
1.9.0 5,035 6/23/2014
1.9.0-Beta3 1,465 6/21/2014
1.9.0-Beta2 1,006 6/16/2014
1.9.0-Beta1 1,372 6/13/2014
1.8.32 48,443 5/14/2014
1.8.30 9,749 4/28/2014
1.8.29 8,041 4/10/2014
1.8.23 61,390 2/21/2014
1.8.21 11,962 2/10/2014
1.8.20 13,228 2/4/2014
1.8.18 8,926 1/22/2014
1.8.17 18,852 12/7/2013
1.8.12 8,957 11/24/2013
1.8.11 17,834 11/7/2013
1.8.10 9,300 11/4/2013
1.8.9 9,909 10/25/2013
1.8.8 12,617 10/24/2013
1.8.7 4,833 10/16/2013
1.8.2 43,698 9/10/2013
1.8.0 2,787 9/5/2013
1.7.27 11,383 8/26/2013
1.7.24 5,268 8/12/2013
1.7.23 1,578 8/11/2013
1.7.21 3,477 8/4/2013
1.7.20 1,637 8/2/2013
1.7.19 5,949 7/24/2013
1.7.18 3,384 7/20/2013
1.7.16 12,845 7/11/2013
1.7.12-Beta1 5,200 6/4/2013
1.7.11-Beta1 1,106 5/29/2013
1.7.9-Beta1 1,417 5/27/2013
1.7.7-Beta1 1,758 5/3/2013
1.7.3-Beta1 2,100 4/12/2013
1.7.0-Beta1 1,659 3/19/2013
1.6.28 9,540 6/4/2013
1.6.26 4,617 5/28/2013
1.6.25 4,527 5/13/2013
1.6.24 20,453 3/6/2013
1.6.22 3,586 2/26/2013
1.6.21 1,638 2/19/2013
1.6.18 2,602 2/5/2013
1.6.17 3,098 1/23/2013
1.6.14 4,160 1/2/2013
1.6.13 5,162 12/4/2012
1.6.11 2,683 11/22/2012
1.6.10 1,818 11/17/2012
1.6.6 8,342 10/15/2012
1.6.5 1,785 10/11/2012
1.6.1 3,116 9/20/2012
1.6.0 2,907 9/12/2012
1.5.5 1,748 8/29/2012
1.5.0 10,140 8/16/2012
1.4.3-beta3 2,272 8/1/2012
1.4.2-beta3 1,500 6/23/2012
1.4.1-beta3 1,115 6/19/2012
1.4.0-beta2 1,206 6/6/2012
1.3.0-beta 1,274 5/16/2012
1.2.1-beta 1,254 4/8/2012
1.2.0-beta 1,470 4/3/2012
1.1.0-beta 1,215 3/29/2012
1.0.0-beta 1,072 3/25/2012
Show less