preserve function names and update smidge
This commit is contained in:
@@ -7,6 +7,7 @@ namespace Umbraco.Core.Configuration.Models
|
||||
/// </summary>
|
||||
public class ModelsBuilderSettings
|
||||
{
|
||||
// TODO: This should not go into App_Data - that folder isn't really a real thing anymore
|
||||
public static string DefaultModelsDirectory => "~/App_Data/Models";
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -20,6 +20,7 @@ namespace Umbraco.Web.Common.RuntimeMinification
|
||||
// angular injection to handle minification correctly which requires declaring string named versions of all
|
||||
// dependencies injected (which is a pain). So we just turn this option off.
|
||||
nuglifyCodeSettings.LocalRenaming = NUglify.JavaScript.LocalRenaming.KeepAll;
|
||||
nuglifyCodeSettings.PreserveFunctionNames = true;
|
||||
|
||||
return new NuglifySettings(new NuglifyCodeSettings(nuglifyCodeSettings), defaultSettings.CssCodeSettings);
|
||||
}
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
<PackageReference Include="NETStandard.Library" Version="2.0.3" />
|
||||
<PackageReference Include="Serilog.AspNetCore" Version="3.4.0" />
|
||||
<PackageReference Include="SixLabors.ImageSharp.Web" Version="1.0.0" />
|
||||
<PackageReference Include="Smidge" Version="3.2.0-build.239" />
|
||||
<PackageReference Include="Smidge.Nuglify" Version="3.2.0-build.239" />
|
||||
<PackageReference Include="Smidge" Version="3.2.0-build.244" />
|
||||
<PackageReference Include="Smidge.Nuglify" Version="3.2.0-build.244" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user