Browse Source

Support compressed dlls

pull/13772/head
liangshiwei 4 years ago
parent
commit
da529664a6
  1. 8
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs

8
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs

@ -113,8 +113,12 @@ public class BundlingService : IBundlingService, ITransientDependency
var contributor = CreateContributorInstance(bundleDefinition.BundleContributorType);
contributor.AddScripts(scriptContext);
}
scriptContext.Add("_framework/blazor.webassembly.js");
if (scriptContext.BundleDefinitions.All(x => x.Source != "_framework/blazor.webassembly.js"))
{
scriptContext.Add("_framework/blazor.webassembly.js");
}
return scriptContext;
}

Loading…
Cancel
Save