Skip to content

Commit f8f7741

Browse files
committed
npm build on publish
1 parent bcedda0 commit f8f7741

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ReactSpaTemplate/ReactSpaTemplate.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
<Folder Include="wwwroot\" />
1111
</ItemGroup>
1212

13+
<Target Name="Bundle" BeforeTargets="BeforePublish">
14+
<Exec Command="npm install --also=dev" />
15+
<Exec Command="npm run-script build" />
16+
</Target>
17+
1318
<ItemGroup>
1419
<PackageReference Include="ServiceStack" Version="5.*" />
1520
</ItemGroup>

0 commit comments

Comments
 (0)