mirror of https://github.com/abpframework/abp
parent
4d196a9bc1
commit
8e360a6aa4
@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.Extensions.Options;
|
||||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
|
||||
using Volo.Abp.AspNetCore.Mvc.UI.Packages.JQuery;
|
||||
using Volo.Abp.Localization;
|
||||
using Volo.Abp.Modularity;
|
||||
|
||||
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.BootstrapDaterangepicker;
|
||||
|
||||
[DependsOn(typeof(JQueryScriptContributor))]
|
||||
public class BootstrapDaterangepickerScriptContributor : BundleContributor
|
||||
{
|
||||
public const string PackageName = "bootstrap-daterangepicker";
|
||||
|
||||
public override void ConfigureBundle(BundleConfigurationContext context)
|
||||
{
|
||||
context.Files.AddIfNotContains("/libs/bootstrap-daterangepicker/moment.min.js");
|
||||
context.Files.AddIfNotContains("/libs/bootstrap-daterangepicker/daterangepicker.js");
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue