Open peaeater opened 9 years ago
Can you try a couple things for me?
I'm assuming this is ajaxmin choking on your input CSS. I think using the YUI minifiers might help also.
.WithMinifier<NullMinifier>()
, yes. Nothing gets compressed, of course.Just for fun, I did try .WithMinifier<YuiMinifier>()
, and that worked, so your surmise re ajaxmin seems correct.
I would recommend using YUI for everything. The only reason AjaxMin is the default is because it has been for so long and I don't want to pull the rug out from under people in a release. You can call
Bundle.ConfigureDefaults()
.UseYuiForCssMinification()
.UseYuiForJsMinification();
in app_start and they will be used for every bundle in your app unless overridden on an individual bundle instance.
We had the same issue with responsivebp v4, thanks for the work-around :+1:
This appears to be broader issue then if the maximum version of AjaxMin supplied with SquishIt causes issues with this and #313 E5-Shim.
In Bootstrap 3.3.0 a workaround for Mobile Safari is introduced for temporal inputs, then an "IE 11 hack" reverses the workaround. The latter produces styles like the following:
Squishit ignores the Bootstrap source stylesheet when this syntax is present. In my case I am calling Squishit in an ASP.NET MVC Razor view:
Commenting out the offending styles makes Squishit include the Bootstrap source again. Bootstrap 3.3.1 does not include the "IE 11 hack" with the naughty syntax, so upgrading Bootstrap is another way to avoid this issue.