Removed unused pwa build option from razor class library project

This commit is contained in:
2025-08-24 11:59:00 +02:00
parent e56c5edfb4
commit dc862e4b3c

View File

@@ -33,16 +33,7 @@
<Content Remove="storage\**\*" /> <Content Remove="storage\**\*" />
<None Remove="storage\**\*" /> <None Remove="storage\**\*" />
</ItemGroup> </ItemGroup>
<!--
Specify the /p:BuildPWA=true flag to build moonlight as a PWA.
This flag is by default disabled to allow nuget package generation
-->
<PropertyGroup Condition="'$(BuildPWA)' == 'true'">
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
</PropertyGroup>
<ItemGroup Condition="'$(BuildPWA)' == 'true'">
<ServiceWorker Include="wwwroot\service-worker.js" PublishedContent="wwwroot\service-worker.published.js" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Moonlight.Shared\Moonlight.Shared.csproj" /> <ProjectReference Include="..\Moonlight.Shared\Moonlight.Shared.csproj" />
</ItemGroup> </ItemGroup>