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]
This commit is contained in:
Rostislav Wolny
2021-09-14 14:49:32 +02:00
committed by Veljko V
parent e1c84f8d6d
commit 0f899c3186

View File

@@ -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',