【发布时间】:2015-07-12 01:23:03
【问题描述】:
是否可以在Bundle.config 中包含整个目录而不仅仅是一个路径?它比明确说明每个文件要容易得多。
我已经输入了directory 作为include 标签的属性,但自动建议并没有提出任何让我认为不可能的建议?
例如;
<?xml version="1.0" encoding="utf-8" ?>
<bundles version="1.0">
<styleBundle path="~/Content/css">
<include path="~/Content/bootstrap/bootstrap.css" />
<include directory="~/Content/SomeDirectory" />
</styleBundle>
</bundles>
【问题讨论】:
标签: asp.net bundling-and-minification