Merge pull request #4507 from guardrex/patch-1
Add BuildBundlerMinifier to drop the Targetpull/4511/head
commit
aa09a51566
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue