Browse Source

Ignore the case when adding file

pull/14005/head
LiangShiWei 4 years ago
parent
commit
864602f031
  1. 2
      framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling.Abstractions/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleFileContributor.cs

2
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling.Abstractions/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleFileContributor.cs

@ -16,7 +16,7 @@ public class BundleFileContributor : BundleContributor
{ {
foreach (var file in Files) foreach (var file in Files)
{ {
context.Files.AddIfNotContains(file); context.Files.AddIfNotContains(x => x.Equals(file, StringComparison.OrdinalIgnoreCase), () => file);
} }
} }
} }

Loading…
Cancel
Save