【发布时间】:2016-03-13 09:42:19
【问题描述】:
我有一个这样的包:
Bundles.Add(new Bundle("~/bundles/html", "~/Templates", new AngularHtmlCombine()).IncludeDirectory("~/Templates", "*.html", true);
该包在 debug=false 模式下运行良好,但在调试中它包含我在脚本标签中的所有 html 文件
我怎样才能告诉捆绑包在调试中不起作用?
【问题讨论】:
-
你在 HTML 中使用什么代码来打包?
标签: html angularjs asp.net-mvc bundling-and-minification