diff --git a/README.md b/README.md index 074e963..2190b29 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Options bind from the `ViteManifest` section of `appsettings.json`: | `DefaultEntry` | `index.html` | The logical entry assumed by the parameterless service getters. | | `DefaultBasePath` | `/` | The base path hashed assets are served from when none is supplied. | -Registration overloads (`ViteServiceExtensions`): +Registration overloads (`ViteServiceCollectionExtensions`): ```csharp // Defaults only @@ -141,10 +141,38 @@ Returned URLs are prefixed with the supplied base path. Pass `""` as the base pa | `GetCssFiles()` / `(entry, basePath)` / `(ViteManifestEntry, basePath)` | `IReadOnlyList`| Resolved CSS URLs. | | `GetJsFile()` / `(entry, basePath)` / `(ViteManifestEntry, basePath)` | `string?` | Resolved JS URL. | | `GetModulePreloadFiles(ViteManifestEntry, basePath)` | `IReadOnlyList`| Transitively-imported chunk URLs (for modulepreload). | +| `TryResolveHashedAsset(requestPath, out hashedPath)` | `bool` | Resolve an unhashed asset path to its hashed build output. | | `RenderCss(entry, basePath, preload)` | `IHtmlContent` | CSS `` tags only. | | `RenderJs(entry, basePath)` | `IHtmlContent` | `` for imported chunks + the module `