You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MSBUILD-PROPERTIES.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ BlazorWasmPrerenderingHeadOutletComponentSelector| `head::after` | Set the DOM e
11
11
BlazorWasmPrerenderingOutputStyle | `IndexHtmlInSubFolders` | When it is set to `AppendHtmlExtension`, the page of the URL path `foo/bar` will be saved as the `foo/bar.html` instead of the `foo/bar/index.html`.
12
12
BlazorWasmPrerenderingDeleteLoadingContents | `false` | When it is set to `true`, the "Loading..." contents will be deleted from prerendered output HTML files, and prerendered contents to be visible immediately even before the Blazor WebAssembly runtime has warmed up.
13
13
BlazorWasmPrerenderingUrlPathToExplicitFetch| | Set the semicolon-separated URL paths explicitly that are not linked from anywhere, such as easter-egg pages, to be prerendered.
14
+
BlazorWasmPrerenderingUrlPathRegexToIgnore | | Set a regular expression to skip paths that match it during the crawling process.
14
15
BlazorWasmPrerenderingEnvironment | `Prerendering` | Set a name of a host environment that can retrieve via `IWebHostEnvironment.Environment`.
15
16
BlazorWasmPrerenderingEmulateAuthMe | `true` | When it is set to `true`, prerendering server emulates Azure App Services Auth. That means the ULR endpoint **"/.auth/me"** will return the JSON content `{"clientPrincipal":null}`
16
17
BlazorWasmPrerenderingLocale | `en` | Set a comma-separated locale list such as "en", "ja-JP,en-US", etc., those used when crawling. **⚠️Attention:** when you specify this MSBuild property via "dotnet" command line, you have to replace `,` (comma) with `%2c`.
Similarly, if you want to skip some URL paths during the crawling process, you can **set a regular expression to the `BlazorWasmPrerenderingUrlPathRegexToIgnore` MSBuild property**.
(* See also: [_MSBuild properties reference for the "BlazorWasmPreRendering.Build"_](https://github.com/jsakamoto/BlazorWasmPreRendering.Build/blob/master/MSBUILD-PROPERTIES.md))
0 commit comments