web-apis-websharper/web_api_cookbook.fsproj
2025-07-06 23:07:10 +09:00

30 lines
961 B
XML

<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Client.fs" />
<Compile Include="Startup.fs" />
<None Include="package.json" />
<None Include="esbuild.config.mjs" />
<None Include="vite.config.js" />
<None Include="wsconfig.json" />
</ItemGroup>
<!-- Central package management enabled, https://learn.microsoft.com/en-us/nuget/consume-packages/Central-Package-Management -->
<ItemGroup>
<PackageReference Include="WebSharper"/>
<PackageReference Include="WebSharper.FSharp"/>
<PackageReference Include="WebSharper.UI"/>
<PackageReference Include="WebSharper.AspNetCore"/>
</ItemGroup>
<Target Name="ESBuildBundle" AfterTargets="WebSharperCompile" Condition=" '$(Configuration)' == 'Release' ">
<Exec Command="npm install" />
<Exec Command="node ./esbuild.config.mjs" />
</Target>
</Project>