• Stars
    star
    128
  • Rank 271,168 (Top 6 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created almost 7 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Bundle Transformer - a modular extension for System.Web.Optimization (also known as the Microsoft ASP.NET Web Optimization Framework).

Bundle Transformer NuGet version Download count

Bundle Transformer logo

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.

NuGet Packages

Core

Translators

Postprocessors

Minifiers

Unofficial modules

Documentation

Documentation is located on the wiki of this Repo.

Release History

See the changelog.

Who's Using Bundle Transformer

If you use Bundle Transformer in some project, please send me a message so I can include it in this list:

Software

Websites

Bundle Transformer was created and is maintained by Andrey Taritsyn.

More Repositories

1

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.
C#
421
star
2

JavaScriptEngineSwitcher

JavaScript Engine Switcher determines unified interface for access to the basic features of popular JavaScript engines. This library allows you to quickly and easily switch to using of another JavaScript engine.
C#
419
star
3

MsieJavaScriptEngine

.NET wrapper for working with the JavaScript engines of Internet Explorer and Edge Legacy (JsRT versions of Chakra, ActiveScript version of Chakra and Classic JavaScript Engine). Project was based on the code of SassAndCoffee.JavaScript and Chakra Sample Hosts.
C#
105
star
4

LibSassHost

.NET wrapper around the LibSass library with the ability to support a virtual file system.
C++
81
star
5

JSMin.NET

A .NET port of the Douglas Crockford's JSMin.
C#
21
star
6

DartSassHost

.NET wrapper around the Dart Sass.
JavaScript
21
star
7

AdvancedStringBuilder

Contains a simple implementation of the pool and extension methods for string builder.
C#
15
star
8

AutoprefixerHost

.NET wrapper around the Andrey Sitnik's Autoprefixer.
JavaScript
6
star
9

ResxToCs

A set of .NET tools that converts a Resx code into C# code.
C#
4
star
10

TestChakraCoreEsModules

.NET Core console application for reproduce an error that occurs during evaluation of ECMAScript 2015 static module.
C#
2
star
11

PolyfillsForOldDotNet

Set of polyfills for .NET Framework 4.0.
C#
2
star