Skip to content

Commit 5b93992

Browse files
committed
Updates
1 parent 59905b8 commit 5b93992

File tree

1 file changed

+12
-0
lines changed
  • aspnetcore/blazor/host-and-deploy/webassembly

1 file changed

+12
-0
lines changed

aspnetcore/blazor/host-and-deploy/webassembly/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,8 @@ To use a different file extension than `.bin`, replace `.bin` in the following c
489489

490490
On Windows:
491491

492+
:::moniker-end
493+
492494
:::moniker range=">= aspnetcore-10.0"
493495

494496
```powershell
@@ -507,6 +509,8 @@ dir {PATH} | rename-item -NewName { $_.name -replace ".dll\b",".bin" }
507509

508510
:::moniker-end
509511

512+
:::moniker range=">= aspnetcore-5.0"
513+
510514
In the preceding command, the `{PATH}` placeholder is the path to the published `_framework` folder (for example, `.\bin\Release\net6.0\browser-wasm\publish\wwwroot\_framework` from the project's root folder).
511515

512516
If service worker assets are also in use:
@@ -519,6 +523,8 @@ In the preceding command, the `{PATH}` placeholder is the path to the published
519523

520524
On Linux or macOS:
521525

526+
:::moniker-end
527+
522528
:::moniker range=">= aspnetcore-10.0"
523529

524530
```console
@@ -537,6 +543,8 @@ sed -i 's/\.dll"/.bin"/g' {PATH}/blazor.boot.json
537543

538544
:::moniker-end
539545

546+
:::moniker range=">= aspnetcore-5.0"
547+
540548
In the preceding command, the `{PATH}` placeholder is the path to the published `_framework` folder (for example, `.\bin\Release\net6.0\browser-wasm\publish\wwwroot\_framework` from the project's root folder).
541549

542550
If service worker assets are also in use:
@@ -547,6 +555,8 @@ sed -i 's/\.dll"/.bin"/g' {PATH}/service-worker-assets.js
547555

548556
In the preceding command, the `{PATH}` placeholder is the path to the published `service-worker-assets.js` file.
549557

558+
:::moniker-end
559+
550560
:::moniker range=">= aspnetcore-10.0"
551561

552562
To address the compressed `dotnet.boot.js.gz` and `dotnet.boot.js.br` files, adopt either of the following approaches:
@@ -593,6 +603,8 @@ Remove-Item $filepath\bin\Release\$tfm\browser-wasm\publish\wwwroot\_framework\b
593603

594604
:::moniker-end
595605

606+
:::moniker range=">= aspnetcore-5.0"
607+
596608
If service worker assets are also in use, add the following commands:
597609

598610
```powershell

0 commit comments

Comments
 (0)