Skip to content

Commit

Permalink
npm build on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Feb 25, 2021
1 parent bcedda0 commit f8f7741
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ReactSpaTemplate/ReactSpaTemplate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
<Folder Include="wwwroot\" />
</ItemGroup>

<Target Name="Bundle" BeforeTargets="BeforePublish">
<Exec Command="npm install --also=dev" />
<Exec Command="npm run-script build" />
</Target>

<ItemGroup>
<PackageReference Include="ServiceStack" Version="5.*" />
</ItemGroup>
Expand Down

0 comments on commit f8f7741

Please sign in to comment.