mirror of https://github.com/abpframework/abp.git
5 changed files with 34 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Text; |
||||
|
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
||||
|
|
||||
|
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.Luxon |
||||
|
{ |
||||
|
public class LuxonScriptContributor : BundleContributor |
||||
|
{ |
||||
|
public override void ConfigureBundle(BundleConfigurationContext context) |
||||
|
{ |
||||
|
context.Files.AddIfNotContains("/libs/luxon/luxon.min.js"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,5 @@ |
|||||
|
module.exports = { |
||||
|
mappings: { |
||||
|
"@node_modules/luxon/build/global/*.*": "@libs/luxon/" |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
{ |
||||
|
"version": "0.8.0", |
||||
|
"name": "@abp/luxon", |
||||
|
"publishConfig": { |
||||
|
"access": "public" |
||||
|
}, |
||||
|
"dependencies": { |
||||
|
"luxon": "^1.17.3" |
||||
|
}, |
||||
|
"gitHead": "4d6791834b7723d8ad78ba4d23ae3425f170fdeb" |
||||
|
} |
||||
Loading…
Reference in new issue