【发布时间】:2014-09-25 14:32:08
【问题描述】:
我想捆绑 2 个与 Twitter Bootstraps 相关的 css 文件。
"~/Content/Themes/Base/CSS/bootstrap-theme.css"
"~/Content/Themes/Base/CSS/bootstrap.css"
每个文件都有一个指向其 CDN 的单独 URL:
//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css
//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css
如何在同一个 StyleBundle 中为 2 个单独的 css 文件提供 2 个 CDN 路径? 我是否需要分别创建 2 个 StyleBundle,每个都包含一个 css 文件?这似乎对捆绑的努力适得其反。
任何帮助将不胜感激。谢谢。
【问题讨论】:
标签: asp.net-mvc bundling-and-minification