Ensures Smidge is configured to use Nuglify

This commit is contained in:
Shannon
2020-08-31 22:46:17 +10:00
parent 30b1d52e67
commit a110d4d216
4 changed files with 5 additions and 2 deletions

View File

@@ -8,5 +8,6 @@
<packageSources>
<add key="UmbracoCoreMyGet" value="https://www.myget.org/F/umbracocore/api/v3/index.json" />
<add key="ExamineAzurePipelines" value="https://shazwazza.pkgs.visualstudio.com/Examine/_packaging/Examine-Beta/nuget/v3/index.json" />
<add key="SmidgeAppVeyor" value="https://ci.appveyor.com/nuget/smidge" />
</packageSources>
</configuration>

View File

@@ -4,6 +4,7 @@ using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Serilog.Context;
using Smidge;
using Smidge.Nuglify;
using StackExchange.Profiling;
using Umbraco.Core;
using Umbraco.Core.Hosting;
@@ -110,6 +111,7 @@ namespace Umbraco.Extensions
if (!app.UmbracoCanBoot()) return app;
app.UseSmidge();
app.UseSmidgeNuglify();
return app;
}

View File

@@ -27,7 +27,7 @@
<PackageReference Include="Serilog.AspNetCore" Version="3.2.0" />
<PackageReference Include="SixLabors.ImageSharp.Web" Version="1.0.0-rc0003" />
<PackageReference Include="Smidge" Version="3.1.1" />
<PackageReference Include="Smidge.Nuglify" Version="2.0.0" />
<PackageReference Include="Smidge.Nuglify" Version="3.0.0-build.231" />
</ItemGroup>
<ItemGroup>

View File

@@ -28,7 +28,7 @@
"ConvertUrlsToAscii": "try"
},
"RuntimeMinification": {
"dataFolder": "App_Data\\Smidge",
"dataFolder": "App_Data/TEMP/Smidge",
"version": "1"
},
"Security": {