Skip to content

Commit

Permalink
Merge pull request #45 from followynne/fix/ui-build-command-on-release
Browse files Browse the repository at this point in the history
fix(web): auto-npm-build only on release
  • Loading branch information
mo-esmp authored Sep 6, 2022
2 parents cda37f1 + 6a01a2f commit ae2aebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Serilog.Ui.Web/Serilog.Ui.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>

<Target Name="NpmRunBuild" BeforeTargets="BeforeBuild">
<Target Name="NpmRunBuild" BeforeTargets="BeforeBuild" Condition="'$(Configuration)'!='DEBUG'">
<Exec Command="npm run build" />
</Target>

Expand Down

0 comments on commit ae2aebd

Please sign in to comment.