Don’t use import-css directives when bundling
Consider the following code: This Controller method creates a bundle and includes a css-file located at ~/Content/base.css and then returns the view. The css file looks like this : This file imports another css file b2.css. This includes a style to render the ‘important’-div red: The last line in our C#-code renders file ~/Src/b.cshtml :… Read More »