Build: Removing npm install step when skipping the web app

This commit is contained in:
Zoe Roux
2021-08-30 13:46:01 +02:00
committed by Diabltica
parent e338fc6b37
commit 3d14902a0b
+1 -1
View File
@@ -36,7 +36,7 @@
</Content>
</ItemGroup>
<Target Name="NpmInstall" BeforeTargets="RunWebpack" Inputs="$(SpaRoot)/package.json" Outputs="$(NpmStamp)">
<Target Name="NpmInstall" BeforeTargets="RunWebpack" Inputs="$(SpaRoot)/package.json" Outputs="$(NpmStamp)" Condition="$(SkipWebApp) != true">
<Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>