Browse Source

Minor refacctor

pull/301/head
Halil ibrahim Kalkan 8 years ago
parent
commit
2f0053c4e0
  1. 4
      src/Volo.Abp.AspNetCore.Mvc.UI/UI/Bundling/Styles/StyleBundler.cs

4
src/Volo.Abp.AspNetCore.Mvc.UI/UI/Bundling/Styles/StyleBundler.cs

@ -1,4 +1,3 @@
using System;
using Volo.Abp.AspNetCore.Mvc.UI.Minification.Styles;
using Volo.Abp.AspNetCore.VirtualFileSystem;
@ -16,9 +15,8 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.Styles
protected override string GetFileContent(IBundlerContext context, string file)
{
var content = base.GetFileContent(context, file);
return CssRelativePath.Adjust(
content,
base.GetFileContent(context, file),
WebRootFileProvider.GetAbsolutePath(file),
WebRootFileProvider.GetAbsolutePath(context.BundleRelativePath)
);

Loading…
Cancel
Save