Skip to content

CssBundlingOptions class

namespace: Serenity.Web   assemblySerenity.Net.Web

Options for CSS bundling.

public class CssBundlingOptions : IOptions<CssBundlingOptions>

Public Members

name description
CssBundlingOptions() Initializes a new instance of the CssBundlingOptions class.
Bundles { get; set; } Gets or sets the list of bundles and their contents.
Enabled { get; set; } Gets or sets whether CSS bundling is enabled.
Minimize { get; set; } Gets or sets the minimization flag. When true, CSS files are minified and their minified versions are used in bundles.
NoMinimize { get; set; } Gets or sets a list of relative paths to not minify.
Replacements { get; set; } Gets or sets the replacement dictionary for placeholders in bundle contents, like {Development}.
UseMinCSS { get; set; } Gets or sets whether a .min.css file that exists in the file system should be used if available, instead of minifying the file in memory.
Value { get; } Returns this object.
const SectionKey The default section key for this option class.

See Also