You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var path = "/Themes/One/Styles/one.css";
var name = "one";
@MvcHtmlString.Create(Bundle.Css().Add(path).Render(string.Format("~/bdls/{0}_#.css", name))
Unfortunately, for some of our files we get the output <style></style> instead of the desired <link href="/bundles/theme_ABCDEFG.css" rel="stylesheet" type="text/css" />. This is very weird and it is dependent on the css file being processed by the SquishIt.
I would like to understand where in the processing pipeline the error occurs but I have no clue where and how to configure SquishIt to tell me more about that. Is logging available? Exceptions? Anything?
By the way, trying to use the NullMinifier helped in getting the <link /> rendered, but the referenced file was empty.
The text was updated successfully, but these errors were encountered:
The only place I know of where we intentionally render style tags is when debugging - if arbitrary content is included in a bundle and maybe embedded resources.
We minify our css files like this:
Unfortunately, for some of our files we get the output
<style></style>
instead of the desired<link href="/bundles/theme_ABCDEFG.css" rel="stylesheet" type="text/css" />
. This is very weird and it is dependent on the css file being processed by the SquishIt.I would like to understand where in the processing pipeline the error occurs but I have no clue where and how to configure SquishIt to tell me more about that. Is logging available? Exceptions? Anything?
By the way, trying to use the
NullMinifier
helped in getting the<link />
rendered, but the referenced file was empty.The text was updated successfully, but these errors were encountered: