using System.Collections.Generic;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
using Volo.Abp.AspNetCore.Mvc.UI.Packages.Codemirror;
using Volo.Abp.AspNetCore.Mvc.UI.Packages.HighlightJs;
using Volo.Abp.Modularity;

namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.TuiEditor
{
    [DependsOn(
        typeof(CodemirrorStyleContributor),
        typeof(HighlightJsStyleContributor)
    )]
    public class TuiEditorStyleContributor : BundleContributor
    {
        public override void ConfigureBundle(BundleConfigurationContext context)
        {
            context.Files.AddIfNotContains("/libs/tui-editor/tui-editor.min.css");
            context.Files.AddIfNotContains("/libs/tui-editor/tui-editor-contents.min.css");
        }
    }
}