Skip to content

Commit

Permalink
Removed npm build in azure
Browse files Browse the repository at this point in the history
I will be automating the React build in GitHub actions instead. This may increase slow cold starts at Azure.
  • Loading branch information
AmielCyber committed Aug 24, 2023
1 parent 0204182 commit ffa2482
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions PetSearch.API/PetSearch.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@
<NoWarn>$(NoWarn);1591</NoWarn>
</PropertyGroup>

<!-- Build Client App -->
<Target Name="CompileClientApp" BeforeTargets="Publish">
<Exec WorkingDirectory="../pet-search-client" Command="npm install"/>
<Exec WorkingDirectory="../pet-search-client" Command="npm run build"/>
</Target>

<!-- Include static files from a React build -->
<ItemGroup>
<Folder Include="wwwroot\"/>
Expand Down

0 comments on commit ffa2482

Please sign in to comment.