Skip to content

Commit 6a01a2f

Browse files
committed
fix(web): auto-npm-build only on release
1 parent cda37f1 commit 6a01a2f

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)