From 5da7a06675a7b2a34c4623ee5728e372a5ad88d4 Mon Sep 17 00:00:00 2001 From: Dimitri Huisman Date: Mon, 30 Aug 2021 15:01:05 +0000 Subject: [PATCH] Resolve webpack.config.js error --- core/admin/webpack.config.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/core/admin/webpack.config.js b/core/admin/webpack.config.js index e9d268ea..1d969063 100644 --- a/core/admin/webpack.config.js +++ b/core/admin/webpack.config.js @@ -40,7 +40,16 @@ module.exports = { use: [{ loader: 'expose-loader', options: { - exposes: ['$','jQuery'] + exposes: [ + { + globalName: '$', + override: true, + }, + { + globalName: 'jQuery', + override: true, + }, + ] }, }] }