From 0f899c318611c8b29a9e52bc0bf4e080df9d240f Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Tue, 14 Sep 2021 14:49:32 +0200 Subject: [PATCH] Add comment for admin_vendor entry and remove unnecessaty packages @emotion/react @emotion/style don't have to be added here since they are not shared. [MAILPOET-3214] --- webpack.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 23821a8c7c..2500de8e6e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -260,6 +260,7 @@ const adminConfig = { entry: { vendor: 'webpack_vendor_index.jsx', mailpoet: 'webpack_mailpoet_index.jsx', + // Admin vendor contains libraries shared between free and premium plugin admin_vendor: [ 'react', 'react-dom', @@ -268,8 +269,6 @@ const adminConfig = { 'prop-types', 'classnames', 'lodash', - '@emotion/react', - '@emotion/styled', 'help-tooltip.jsx', 'listing/listing.jsx', 'common/index.ts',