Click or drag to resize

Utils_Minification Class

Utilities for Javascript and StyleSheet minification.

Important: css one line comments (using '//') are not handled.

Inheritance Hierarchy
SystemObject
  MicaSystems.UtilsUtils_Minification

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static class Utils_Minification

The Utils_Minification type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBundleFiles(String)
Bundles files using a given config file.
Public methodStatic memberBundleFiles(String, BundleConfig)
Bundles files using a base folder and a given config.
Public methodStatic memberMinifyJS
Minifies a Javascript text.

https://github.com/extnet/Utilities/blob/master/Ext.Net.Utilities/JavaScript/JSMin.cs

Public methodStatic memberRemoveWhiteSpaceFromStylesheets
Minifies a CSS text.

http://madskristensen.net/post/efficient-stylesheet-minification-in-c

Top
See Also