BundleTransformer.Core 1.7.7-Beta1 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

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.7.7-Beta1
dotnet add package BundleTransformer.Core --version 1.7.7-Beta1
<PackageReference Include="BundleTransformer.Core" Version="1.7.7-Beta1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BundleTransformer.Core --version 1.7.7-Beta1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BundleTransformer.Core, 1.7.7-Beta1"
#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.7.7-Beta1&prerelease

// Install BundleTransformer.Core as a Cake Tool
#tool nuget:?package=BundleTransformer.Core&version=1.7.7-Beta1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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: ability to exclude unnecessary assets when adding assets from a directory, 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 are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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 Dart Sass Host for .NET (https://github.com/Taritsyn/DartSassHost) version 1.0.0 Preview 7 (supports the Dart Sass (https://github.com/sass/dart-sass) version 1.43.4). Also contains the `SassAndScssAssetHandler` debugging HTTP handler, which is responsible for text output of translated Sass or SCSS asset. 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.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.16 (supports the Andrey Sitnik's Autoprefixer (https://github.com/postcss/autoprefixer) version 10.4.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.

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 Downloads Last updated
1.10.0 360,399 12/26/2018
1.10.0-beta1 7,907 12/10/2018
1.9.213 65,358 10/2/2018
1.9.171 283,652 8/29/2017
1.9.171-beta1 898 8/25/2017
1.9.160 211,350 6/15/2017
1.9.152 76,654 3/3/2017
1.9.138 84,500 12/10/2016
1.9.92 255,955 3/8/2016
1.9.92-beta1 2,278 3/2/2016
1.9.92-alpha1 5,532 1/19/2016
1.9.89 115,616 12/20/2015
1.9.81 49,849 11/11/2015
1.9.81-beta1 1,125 11/4/2015
1.9.69 174,684 7/22/2015
1.9.52 136,780 3/30/2015
1.9.51 1,539 3/28/2015
1.9.43 41,084 1/31/2015
1.9.40 11,471 1/19/2015
1.9.39 1,994 1/18/2015
1.9.35 67,232 12/21/2014
1.9.34 6,242 12/19/2014
1.9.32 17,063 12/1/2014
1.9.30 46,403 11/24/2014
1.9.25 40,623 10/14/2014
1.9.24 2,734 10/8/2014
1.9.22 20,576 9/23/2014
1.9.13 48,253 8/7/2014
1.9.11 12,172 7/28/2014
1.9.5 9,514 6/30/2014
1.9.3 1,879 6/28/2014
1.9.2 1,596 6/26/2014
1.9.1 5,727 6/25/2014
1.9.0 6,761 6/23/2014
1.9.0-Beta3 2,294 6/21/2014
1.9.0-Beta2 1,333 6/16/2014
1.9.0-Beta1 2,108 6/13/2014
1.8.32 59,430 5/14/2014
1.8.30 11,304 4/28/2014
1.8.29 9,656 4/10/2014
1.8.23 67,537 2/21/2014
1.8.21 13,147 2/10/2014
1.8.20 14,462 2/4/2014
1.8.18 11,618 1/22/2014
1.8.17 21,919 12/7/2013
1.8.12 12,316 11/24/2013
1.8.11 21,510 11/7/2013
1.8.10 12,158 11/4/2013
1.8.9 10,841 10/25/2013
1.8.8 14,963 10/24/2013
1.8.7 5,969 10/16/2013
1.8.2 49,196 9/10/2013
1.8.0 3,829 9/5/2013
1.7.27 14,367 8/26/2013
1.7.24 5,888 8/12/2013
1.7.23 1,864 8/11/2013
1.7.21 4,536 8/4/2013
1.7.20 2,069 8/2/2013
1.7.19 8,068 7/24/2013
1.7.18 4,605 7/20/2013
1.7.16 14,344 7/11/2013
1.7.12-Beta1 6,034 6/4/2013
1.7.11-Beta1 1,352 5/29/2013
1.7.9-Beta1 2,156 5/27/2013
1.7.7-Beta1 2,447 5/3/2013
1.7.3-Beta1 2,403 4/12/2013
1.7.0-Beta1 2,472 3/19/2013
1.6.28 10,429 6/4/2013
1.6.26 6,352 5/28/2013
1.6.25 5,474 5/13/2013
1.6.24 24,761 3/6/2013
1.6.22 3,977 2/26/2013
1.6.21 1,861 2/19/2013
1.6.18 3,366 2/5/2013
1.6.17 3,388 1/23/2013
1.6.14 5,103 1/2/2013
1.6.13 6,362 12/4/2012
1.6.11 3,972 11/22/2012
1.6.10 3,000 11/17/2012
1.6.6 10,565 10/15/2012
1.6.5 2,782 10/11/2012
1.6.1 4,958 9/20/2012
1.6.0 3,823 9/12/2012
1.5.5 2,592 8/29/2012
1.5.0 16,453 8/16/2012
1.4.3-beta3 2,771 8/1/2012
1.4.2-beta3 1,980 6/23/2012
1.4.1-beta3 1,592 6/19/2012
1.4.0-beta2 1,648 6/6/2012
1.3.0-beta 1,743 5/16/2012
1.2.1-beta 1,698 4/8/2012
1.2.0-beta 1,868 4/3/2012
1.1.0-beta 1,628 3/29/2012
1.0.0-beta 1,421 3/25/2012

1. Added support of the item transformations (classes that implements an IItemTransform interface);
2. Added the NullBuilder class (implements an IBundleBuilder interface) that responsible for prevention of early applying of the item transformations and combining of code;
3. Implemented analogs of the StyleBundle and ScriptBundle classes for the Bundle Transformer: CustomStyleBundle (uses CssTransformer as transformation by default and NullBuilder as builder by default) and CustomScriptBundle (uses JsTransformer as transformation by default and NullBuilder as builder by default);
4. In the css configuration element added the disableNativeCssRelativePathTransformation attribute, which disables native transformation of relative paths to absolute in CSS-files.