Justification: When published (under Release configuration) in layout there is just app.min.css. We can either add also other minified CSS there (components, headers,...) or add one bundled and minified 8KB css.
71 lines
3.0 KiB
XML
71 lines
3.0 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
|
<RootNamespace>Microsoft.eShopWeb.Web</RootNamespace>
|
|
<UserSecretsId>aspnet-Web2-1FA3F72E-E7E3-4360-9E49-1CCCD7FE85F7</UserSecretsId>
|
|
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Remove="compilerconfig.json" />
|
|
</ItemGroup>
|
|
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Ardalis.ListStartupServices" Version="1.1.3" />
|
|
<PackageReference Include="BuildBundlerMinifier" Version="2.9.406" Condition="'$(Configuration)'=='Release'" PrivateAssets="All" />
|
|
<PackageReference Include="Microsoft.AspNetCore.App" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
|
|
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.2.3" />
|
|
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="1.0.172" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="4.0.1" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="wwwroot\fonts\" />
|
|
<Folder Include="wwwroot\lib\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ApplicationCore\ApplicationCore.csproj" />
|
|
<ProjectReference Include="..\Infrastructure\Infrastructure.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="compilerconfig.json" />
|
|
<None Include="wwwroot\images\products\1.png" />
|
|
<None Include="wwwroot\images\products\10.png" />
|
|
<None Include="wwwroot\images\products\11.png" />
|
|
<None Include="wwwroot\images\products\12.png" />
|
|
<None Include="wwwroot\images\products\2.png" />
|
|
<None Include="wwwroot\images\products\3.png" />
|
|
<None Include="wwwroot\images\products\4.png" />
|
|
<None Include="wwwroot\images\products\5.png" />
|
|
<None Include="wwwroot\images\products\6.png" />
|
|
<None Include="wwwroot\images\products\7.png" />
|
|
<None Include="wwwroot\images\products\8.png" />
|
|
<None Include="wwwroot\images\products\9.png" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Update="appsettings.json">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Update="Views\Shared\Error.cshtml">
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Update="Views\Shared\_Layout.cshtml">
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Update="Views\Shared\_LoginPartial.cshtml">
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Update="Views\Shared\_ValidationScriptsPartial.cshtml">
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Update="Views\_ViewImports.cshtml">
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Update="Views\_ViewStart.cshtml">
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
</Project>
|