Пример #1
0
 protected override string ProcessBeforeAddingToTheBundle(IBundlerContext context, string filePath, string fileContent)
 {
     return(CssRelativePath.Adjust(
                fileContent,
                GetAbsolutePath(filePath),
                GetAbsolutePath(context.BundleRelativePath)
                ));
 }
Пример #2
0
 protected override string GetFileContent(IBundlerContext context, string file)
 {
     return(CssRelativePath.Adjust(
                base.GetFileContent(context, file),
                GetAbsolutePath(file),
                GetAbsolutePath(context.BundleRelativePath)
                ));
 }