mirror of https://github.com/abpframework/abp.git
3 changed files with 29 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||
|
using System.Collections.Generic; |
||||
|
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
||||
|
|
||||
|
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.FlagIconCss |
||||
|
{ |
||||
|
public class FlagIconCssStyleContributor : BundleContributor |
||||
|
{ |
||||
|
public override void ConfigureBundle(BundleConfigurationContext context) |
||||
|
{ |
||||
|
context.Files.AddIfNotContains("/libs/flag-icon-css/css/flag-icon.min.css"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,6 @@ |
|||||
|
module.exports = { |
||||
|
mappings: { |
||||
|
"@node_modules/flag-icon-css/css/*": "@libs/flag-icon-css/css", |
||||
|
"@node_modules/flag-icon-css/flags/1x1/*": "@libs/flag-icon-css/flags/1x1" |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,10 @@ |
|||||
|
{ |
||||
|
"version": "0.5.1", |
||||
|
"name": "@abp/flag-icon-css", |
||||
|
"publishConfig": { |
||||
|
"access": "public" |
||||
|
}, |
||||
|
"dependencies": { |
||||
|
"flag-icon-css": "^3.3.0" |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue