protected override string GetFileContent(IBundlerContext context, string file) { return(CssRelativePath.Adjust( base.GetFileContent(context, file), WebRootFileProvider.GetAbsolutePath(file), WebRootFileProvider.GetAbsolutePath(context.BundleRelativePath) )); }
protected virtual IFileInfo GetFileInfo(IBundlerContext context, string file) { var fileInfo = WebRootFileProvider.GetFileInfo(file); if (!fileInfo.Exists) { throw new AbpException($"Could not find file '{file}' using {nameof(IHybridWebRootFileProvider)}"); } return(fileInfo); }