Merge pull request #4507 from guardrex/patch-1

Add BuildBundlerMinifier to drop the Target
pull/4511/head
Scott Addie 2017-10-06 09:59:13 -05:00 committed by GitHub
commit aa09a51566
1 changed files with 2 additions and 4 deletions

View File

@ -7,6 +7,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.0" />
<PackageReference Include="BuildBundlerMinifier" Version="2.5.357" />
</ItemGroup>
<ItemGroup>
@ -14,12 +15,9 @@
<DotNetCliToolReference Include="BundlerMinifier.Core" Version="2.5.357" />
</ItemGroup>
<!-- For information on Bower, see https://bower.io/ and https://docs.microsoft.com/aspnet/core/client-side/bower -->
<Target Name="PreBuildScript" BeforeTargets="PrepareForBuild">
<Exec Command="bower install" />
</Target>
<Target Name="PrePublishScript" BeforeTargets="PrepareForPublish">
<Exec Command="dotnet bundle" />
</Target>
</Project>