Ensures Smidge is configured to use Nuglify
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"ConvertUrlsToAscii": "try"
|
||||
},
|
||||
"RuntimeMinification": {
|
||||
"dataFolder": "App_Data\\Smidge",
|
||||
"dataFolder": "App_Data/TEMP/Smidge",
|
||||
"version": "1"
|
||||
},
|
||||
"Security": {
|
||||
|
||||
Reference in New Issue
Block a user