Browse Source
Merge pull request #14376 from abpframework/auto-merge/rel-6-0/1413
Merge branch dev with rel-6.0
pull/14389/head
Alper Ebiçoğlu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs
|
|
|
@ -108,15 +108,15 @@ public class BundlingService : IBundlingService, ITransientDependency |
|
|
|
Parameters = parameters |
|
|
|
}; |
|
|
|
|
|
|
|
scriptContext.BundleDefinitions.AddIfNotContains( |
|
|
|
x => x.Source == "_framework/blazor.webassembly.js", |
|
|
|
() => new BundleDefinition { Source = "_framework/blazor.webassembly.js" }); |
|
|
|
|
|
|
|
foreach (var bundleDefinition in bundleDefinitions) |
|
|
|
{ |
|
|
|
var contributor = CreateContributorInstance(bundleDefinition.BundleContributorType); |
|
|
|
contributor.AddScripts(scriptContext); |
|
|
|
} |
|
|
|
|
|
|
|
scriptContext.BundleDefinitions.AddIfNotContains( |
|
|
|
x => x.Source == "_framework/blazor.webassembly.js", |
|
|
|
() => new BundleDefinition { Source = "_framework/blazor.webassembly.js" }); |
|
|
|
|
|
|
|
return scriptContext; |
|
|
|
} |
|
|
|
|