aboutsummaryrefslogtreecommitdiff
path: root/TJLaskuri.Web/TJLaskuri.Web.fsproj
diff options
context:
space:
mode:
Diffstat (limited to 'TJLaskuri.Web/TJLaskuri.Web.fsproj')
-rw-r--r--TJLaskuri.Web/TJLaskuri.Web.fsproj39
1 files changed, 26 insertions, 13 deletions
diff --git a/TJLaskuri.Web/TJLaskuri.Web.fsproj b/TJLaskuri.Web/TJLaskuri.Web.fsproj
index 6ddf66a..6cd0654 100644
--- a/TJLaskuri.Web/TJLaskuri.Web.fsproj
+++ b/TJLaskuri.Web/TJLaskuri.Web.fsproj
@@ -1,15 +1,28 @@
-<Project Sdk="Microsoft.NET.Sdk.Web">
-
- <PropertyGroup>
- <TargetFramework>net9.0</TargetFramework>
- </PropertyGroup>
-
- <ItemGroup>
- <Compile Include="Program.fs" />
- </ItemGroup>
-
+<Project Sdk="Microsoft.NET.Sdk.Web">
+
+ <PropertyGroup>
+ <TargetFramework>net9.0</TargetFramework>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <Compile Include="Modules/Index.fs" />
+ <Compile Include="Program.fs" />
+ </ItemGroup>
+
<ItemGroup>
<ProjectReference Include="..\TJLaskuri.Core\TJLaskuri.Core.fsproj" />
- </ItemGroup>
-
-</Project>
+ </ItemGroup>
+
+ <ItemGroup>
+ <PackageReference Include="Falco" Version="5.0.2" />
+ </ItemGroup>
+
+ <Target Name="CopyStaticAssets" BeforeTargets="Build">
+ <Message Text="Copying static assets" />
+ <Copy
+ SourceFiles="../TJLaskuri.Frontend/dist/index.js"
+ DestinationFiles="wwwroot/js/app.js"
+ />
+ </Target>
+
+</Project>