Skip to content

Commit

Permalink
Added CssRewriteUrlTransform to bundles.
Browse files Browse the repository at this point in the history
  • Loading branch information
hikalkan committed Jan 15, 2016
1 parent a75fd72 commit 0710007
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ public static void RegisterBundles(BundleCollection bundles)
//~/Bundles/vendor/css
bundles.Add(
new StyleBundle("~/Bundles/vendor/css")
.Include(
"~/Content/themes/base/all.css",
"~/Content/bootstrap-cosmo.min.css",
"~/Content/toastr.min.css",
"~/Scripts/sweetalert/sweet-alert.css",
"~/Content/flags/famfamfam-flags.css",
"~/Content/font-awesome.min.css"
)
.Include("~/Content/themes/base/all.css", new CssRewriteUrlTransform())
.Include("~/Content/bootstrap-cosmo.min.css", new CssRewriteUrlTransform())
.Include("~/Content/toastr.min.css", new CssRewriteUrlTransform())
.Include("~/Scripts/sweetalert/sweet-alert.css", new CssRewriteUrlTransform())
.Include("~/Content/flags/famfamfam-flags.css", new CssRewriteUrlTransform())
.Include("~/Content/font-awesome.min.css", new CssRewriteUrlTransform())
);

//~/Bundles/vendor/js/top (These scripts should be included in the head of the page)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ public static void RegisterBundles(BundleCollection bundles)
//~/Bundles/App/vendor/css
bundles.Add(
new StyleBundle("~/Bundles/App/vendor/css")
.Include(
"~/Content/themes/base/all.css",
"~/Content/bootstrap-cosmo.min.css",
"~/Content/toastr.min.css",
"~/Scripts/sweetalert/sweet-alert.css",
"~/Content/flags/famfamfam-flags.css",
"~/Content/font-awesome.min.css"
)
.Include("~/Content/themes/base/all.css", new CssRewriteUrlTransform())
.Include("~/Content/bootstrap-cosmo.min.css", new CssRewriteUrlTransform())
.Include("~/Content/toastr.min.css", new CssRewriteUrlTransform())
.Include("~/Scripts/sweetalert/sweet-alert.css", new CssRewriteUrlTransform())
.Include("~/Content/flags/famfamfam-flags.css", new CssRewriteUrlTransform())
.Include("~/Content/font-awesome.min.css", new CssRewriteUrlTransform())
);

//~/Bundles/App/vendor/js
Expand Down

0 comments on commit 0710007

Please sign in to comment.