Skip to content

Commit d469d5c

Browse files
committed
Fixes #10
1 parent 9a87c09 commit d469d5c

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

src/SampleApps/SampleApp.SelfHosted/SampleApp.SelfHosted.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk" InitialTargets="BeforeBuild">
22
<PropertyGroup>
33
<TargetFrameworks>netcoreapp2.2</TargetFrameworks>
44
<Authors>Alexander Krylkov</Authors>
@@ -41,7 +41,7 @@
4141
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
4242
</None>
4343
</ItemGroup>
44-
<Target Name="DebugEnsureNodeEnv" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('node_modules') ">
44+
<Target Name="BeforeBuild" Condition=" '$(Configuration)' == 'Debug' And !Exists('node_modules') ">
4545
<!-- Ensure Node.js is installed -->
4646
<Exec Command="node --version" ContinueOnError="true">
4747
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"SimplifyWebSettings":
33
{
4-
"StringTableFiles": "Titles.xml, Messages.xml"
4+
"StringTableFiles": "Titles.xml, Messages.xml",
5+
"StaticFilesPaths": "styles, scripts, images, content, fonts, node_modules"
56
}
67
}

src/SampleApps/SampleApp.SelfHosted/package-lock.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)