Browse Source
Remove jQuery Migrate from the default bundle
pull/26027/head
maliming
3 months ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
4 changed files with
2 additions and
7 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/JQuery/JQueryScriptContributor.cs
-
npm/packs/jquery/abp.resourcemapping.js
-
npm/packs/jquery/package.json
-
npm/packs/select2/package.json
|
|
|
@ -11,7 +11,6 @@ public class JQueryScriptContributor : BundleContributor |
|
|
|
public override void ConfigureBundle(BundleConfigurationContext context) |
|
|
|
{ |
|
|
|
context.Files.AddIfNotContains("/libs/jquery/jquery.js"); |
|
|
|
context.Files.AddIfNotContains("/libs/jquery-migrate/jquery-migrate.js"); |
|
|
|
context.Files.AddIfNotContains("/libs/abp/jquery/abp.jquery.js"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -1,9 +1,6 @@ |
|
|
|
module.exports = { |
|
|
|
mappings: { |
|
|
|
"@node_modules/jquery/dist/jquery.js": "@libs/jquery/", |
|
|
|
"@node_modules/jquery-migrate/dist/jquery-migrate.js": "@libs/jquery-migrate/", |
|
|
|
"@node_modules/jquery-migrate/dist/jquery-migrate.min.js": "@libs/jquery-migrate/", |
|
|
|
"@node_modules/jquery-migrate/dist/jquery-migrate.min.map": "@libs/jquery-migrate/", |
|
|
|
"@node_modules/@abp/jquery/src/*.*": "@libs/abp/jquery/" |
|
|
|
} |
|
|
|
} |
|
|
|
@ -11,8 +11,7 @@ |
|
|
|
}, |
|
|
|
"dependencies": { |
|
|
|
"@abp/core": "~10.7.0-rc.3", |
|
|
|
"jquery": "~4.0.0", |
|
|
|
"jquery-migrate": "~4.0.2" |
|
|
|
"jquery": "~4.0.0" |
|
|
|
}, |
|
|
|
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431", |
|
|
|
"homepage": "https://abp.io", |
|
|
|
|
|
|
|
@ -11,7 +11,7 @@ |
|
|
|
}, |
|
|
|
"dependencies": { |
|
|
|
"@abp/core": "~10.7.0-rc.3", |
|
|
|
"select2": "^4.0.13" |
|
|
|
"select2": "^4.1.0" |
|
|
|
}, |
|
|
|
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431", |
|
|
|
"homepage": "https://abp.io", |
|
|
|
|