AspNetWebOptimization icon indicating copy to clipboard operation
AspNetWebOptimization copied to clipboard

Bundle Files do not have transforms applied if ".min." file exists

Open chrish619 opened this issue 8 years ago • 0 comments

https://github.com/aspnet/AspNetWebOptimization/blob/97c61ab38948cef17bb0f641a7b216897b9082ad/src/System.Web.Optimization/FileExtensionReplacementList.cs#L75

For example: CSS url() path rewrites can be applied, via IItemTransform; However, this does not apply if there is a .min.css.

FileExtensionReplacementList creates a new BundleFile, without adding the existing file.Transforms property.

chrish619 avatar Jan 26 '18 01:01 chrish619