-
Notifications
You must be signed in to change notification settings - Fork 0
/
anrouxel.csproj
30 lines (25 loc) · 1.25 KB
/
anrouxel.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
<RunAOTCompilation>true</RunAOTCompilation>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.4" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.4" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
<PackageReference Include="Octokit.Reactive" Version="13.0.0" />
<PackageReference Include="ReactiveUI.Blazor" Version="20.1.1" />
</ItemGroup>
<ItemGroup>
<ServiceWorker Include="wwwroot\service-worker.js" PublishedContent="wwwroot\service-worker.published.js" />
</ItemGroup>
<Target Name="NpmBuild" Condition="'$(Configuration)' == 'Debug'" BeforeTargets="Build">
<Exec Command="npm run build" />
</Target>
<Target Name="NpmPublish" Condition="'$(Configuration)' == 'Release'" BeforeTargets="Build">
<Exec Command="npm run publish" />
</Target>
</Project>