我不想对我在ASP .NET MVC 4解决方案中使用的所有文件进行缩小。例如,我在我的BundleConfig.cs文件中有以下内容:
bundles.Add(new StyleBundle("~/CSS/bootstrap").Include(
"~/Content/Bootstrap/body.css",
"~/Content/Bootstrap/bootstrap-responsive.css",
"~/Content/Bootstrap/bootstrap-mvc-validation.css",
"~/Content/Bootstrap/bootstrap-theme.css",
"~/Content/Bootstrap/bootstrap.css"
));
...
当然,为了使其更小,我使用:
BundleTable.EnableOptimizations = true;
它很好用。
但是现在,我该如何缩小所有文件,除了一个包?我有一个删除一些CSS类的包的问题,希望不要缩小这个包。
非常感激任何帮助。
xxxxx.min.css
重命名,它是否仍然尝试进行缩小? - mxmissile