Remove all traces of Backbone, Underscore. #5493

This commit is contained in:
Aditya Toshniwal
2022-11-21 10:54:15 +05:30
committed by GitHub
parent 5dca51637c
commit 8d74de09cc
33 changed files with 77 additions and 2348 deletions

View File

@@ -41,8 +41,7 @@ const providePlugin = new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
'window.jQuery': 'jquery',
_: 'underscore',
Backbone: 'backbone',
_: 'lodash',
pgAdmin: 'pgadmin',
'moment': 'moment',
'window.moment':'moment',
@@ -599,7 +598,7 @@ module.exports = [{
minChunks: 2,
enforce: true,
test(module) {
return webpackShimConfig.matchModules(module, ['wcdocker', 'backbone', 'jquery', 'bootstrap', 'popper']);
return webpackShimConfig.matchModules(module, ['wcdocker', 'jquery', 'bootstrap', 'popper']);
},
},
vendor_others: {