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:
committed by
Veljko V
parent
e1c84f8d6d
commit
0f899c3186
@@ -260,6 +260,7 @@ const adminConfig = {
|
|||||||
entry: {
|
entry: {
|
||||||
vendor: 'webpack_vendor_index.jsx',
|
vendor: 'webpack_vendor_index.jsx',
|
||||||
mailpoet: 'webpack_mailpoet_index.jsx',
|
mailpoet: 'webpack_mailpoet_index.jsx',
|
||||||
|
// Admin vendor contains libraries shared between free and premium plugin
|
||||||
admin_vendor: [
|
admin_vendor: [
|
||||||
'react',
|
'react',
|
||||||
'react-dom',
|
'react-dom',
|
||||||
@@ -268,8 +269,6 @@ const adminConfig = {
|
|||||||
'prop-types',
|
'prop-types',
|
||||||
'classnames',
|
'classnames',
|
||||||
'lodash',
|
'lodash',
|
||||||
'@emotion/react',
|
|
||||||
'@emotion/styled',
|
|
||||||
'help-tooltip.jsx',
|
'help-tooltip.jsx',
|
||||||
'listing/listing.jsx',
|
'listing/listing.jsx',
|
||||||
'common/index.ts',
|
'common/index.ts',
|
||||||
|
Reference in New Issue
Block a user