Skip to content

Commit ae2aebd

Browse files
authored
Merge pull request #45 from followynne/fix/ui-build-command-on-release
fix(web): auto-npm-build only on release
2 parents cda37f1 + 6a01a2f commit ae2aebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serilog.Ui.Web/Serilog.Ui.Web.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
1818
</ItemGroup>
1919

20-
<Target Name="NpmRunBuild" BeforeTargets="BeforeBuild">
20+
<Target Name="NpmRunBuild" BeforeTargets="BeforeBuild" Condition="'$(Configuration)'!='DEBUG'">
2121
<Exec Command="npm run build" />
2222
</Target>
2323

0 commit comments

Comments
 (0)