mirror of https://github.com/abpframework/abp.git
3 changed files with 19 additions and 4 deletions
@ -0,0 +1,16 @@ |
|||||
|
using System.Collections.Generic; |
||||
|
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
||||
|
using Volo.Abp.AspNetCore.Mvc.UI.Packages.Clipboard; |
||||
|
using Volo.Abp.Modularity; |
||||
|
|
||||
|
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.Prismjs |
||||
|
{ |
||||
|
[DependsOn(typeof(ClipboardScriptBundleContributor))] |
||||
|
public class PrismjsScriptBundleContributor : BundleContributor |
||||
|
{ |
||||
|
public override void ConfigureBundle(BundleConfigurationContext context) |
||||
|
{ |
||||
|
context.Files.AddIfNotContains("/libs/prismjs/prism.js"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue