示例#1
0
 /// <summary>
 /// Minifies any .js file requested.
 /// </summary>
 public static IEnumerable <IAsset> MinifyJsFiles(this IAssetPipeline pipeline, CodeSettings settings)
 {
     return(pipeline.MinifyJsFiles(settings, "**/*.js"));
 }
示例#2
0
 /// <summary>
 /// Minifies the specified .js files.
 /// </summary>
 public static IEnumerable <IAsset> MinifyJsFiles(this IAssetPipeline pipeline, params string[] sourceFiles)
 {
     return(pipeline.MinifyJsFiles(new CodeSettings(), sourceFiles));
 }
示例#3
0
 /// <summary>
 /// Minifies any .js file requested.
 /// </summary>
 public static IEnumerable <IAsset> MinifyJsFiles(this IAssetPipeline pipeline)
 {
     return(pipeline.MinifyJsFiles(new CodeSettings()));
 }