mirror of https://github.com/abpframework/abp.git
committed by
GitHub
4 changed files with 43 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
|||
using System.Collections.Generic; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.CropperJs |
|||
{ |
|||
public class CropperJsScriptContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
context.Files.AddIfNotContains("/libs/cropperjs/js/cropper.min.js"); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,13 @@ |
|||
using System.Collections.Generic; |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.CropperJs |
|||
{ |
|||
public class CropperJsStyleContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
context.Files.AddIfNotContains("/libs/cropperjs/css/cropper.min.css"); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,6 @@ |
|||
module.exports = { |
|||
mappings: { |
|||
"@node_modules/cropperjs/dist/cropper.min.js": "@libs/cropperjs/js/", |
|||
"@node_modules/cropperjs/dist/cropper.min.css": "@libs/cropperjs/css/", |
|||
}, |
|||
}; |
|||
@ -0,0 +1,11 @@ |
|||
{ |
|||
"version": "3.0.5", |
|||
"name": "@abp/cropperjs", |
|||
"publishConfig": { |
|||
"access": "public" |
|||
}, |
|||
"dependencies": { |
|||
"cropperjs": "^1.5.7" |
|||
}, |
|||
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
|||
} |
|||
Loading…
Reference in new issue