From c41eb97a0f57fffeb7bac07b532238481e8a96cf Mon Sep 17 00:00:00 2001 From: AlexeySafronov Date: Wed, 8 Sep 2021 15:41:11 +0300 Subject: [PATCH] Web: Extended ModuleFederationPlugin shared section --- products/ASC.CRM/Client/webpack.config.js | 6 ++++++ products/ASC.Calendar/Client/webpack.config.js | 3 +++ products/ASC.Files/Client/webpack.config.js | 6 ++++++ products/ASC.Mail/Client/webpack.config.js | 3 +++ products/ASC.People/Client/webpack.config.js | 3 +++ products/ASC.Projects/Client/webpack.config.js | 6 ++++++ web/ASC.Web.Client/webpack.config.js | 3 +++ web/ASC.Web.Editor/webpack.config.js | 6 ++++++ web/ASC.Web.Login/webpack.config.js | 6 ++++++ 9 files changed, 42 insertions(+) diff --git a/products/ASC.CRM/Client/webpack.config.js b/products/ASC.CRM/Client/webpack.config.js index acf3a67aeb..82217fb78d 100644 --- a/products/ASC.CRM/Client/webpack.config.js +++ b/products/ASC.CRM/Client/webpack.config.js @@ -157,6 +157,12 @@ var config = { singleton: true, requiredVersion: deps["react-dom"], }, + "email-addresses": { + singleton: true, + }, + "fast-deep-equal": { + singleton: true, + }, }, }), new ExternalTemplateRemotesPlugin(), diff --git a/products/ASC.Calendar/Client/webpack.config.js b/products/ASC.Calendar/Client/webpack.config.js index d93b556e9d..514330c2fd 100644 --- a/products/ASC.Calendar/Client/webpack.config.js +++ b/products/ASC.Calendar/Client/webpack.config.js @@ -157,6 +157,9 @@ var config = { singleton: true, requiredVersion: deps["react-dom"], }, + "email-addresses": { + singleton: true, + }, }, }), new ExternalTemplateRemotesPlugin(), diff --git a/products/ASC.Files/Client/webpack.config.js b/products/ASC.Files/Client/webpack.config.js index 07e9aad10a..94dfd02418 100644 --- a/products/ASC.Files/Client/webpack.config.js +++ b/products/ASC.Files/Client/webpack.config.js @@ -165,6 +165,12 @@ var config = { singleton: true, requiredVersion: deps["react-dom"], }, + "email-addresses": { + singleton: true, + }, + "fast-deep-equal": { + singleton: true, + }, }, }), new ExternalTemplateRemotesPlugin(), diff --git a/products/ASC.Mail/Client/webpack.config.js b/products/ASC.Mail/Client/webpack.config.js index 2e95b60f05..b134e4de57 100644 --- a/products/ASC.Mail/Client/webpack.config.js +++ b/products/ASC.Mail/Client/webpack.config.js @@ -157,6 +157,9 @@ var config = { singleton: true, requiredVersion: deps["react-dom"], }, + "email-addresses": { + singleton: true, + }, }, }), new ExternalTemplateRemotesPlugin(), diff --git a/products/ASC.People/Client/webpack.config.js b/products/ASC.People/Client/webpack.config.js index 773e58f9bd..34c580f424 100644 --- a/products/ASC.People/Client/webpack.config.js +++ b/products/ASC.People/Client/webpack.config.js @@ -166,6 +166,9 @@ var config = { singleton: true, requiredVersion: deps["react-dom"], }, + "email-addresses": { + singleton: true, + }, }, }), new ExternalTemplateRemotesPlugin(), diff --git a/products/ASC.Projects/Client/webpack.config.js b/products/ASC.Projects/Client/webpack.config.js index dc06254089..f976c4936e 100644 --- a/products/ASC.Projects/Client/webpack.config.js +++ b/products/ASC.Projects/Client/webpack.config.js @@ -157,6 +157,12 @@ var config = { singleton: true, requiredVersion: deps["react-dom"], }, + "email-addresses": { + singleton: true, + }, + "fast-deep-equal": { + singleton: true, + }, }, }), new ExternalTemplateRemotesPlugin(), diff --git a/web/ASC.Web.Client/webpack.config.js b/web/ASC.Web.Client/webpack.config.js index f0991d9182..7fd20fcb47 100644 --- a/web/ASC.Web.Client/webpack.config.js +++ b/web/ASC.Web.Client/webpack.config.js @@ -174,6 +174,9 @@ const config = { "./src/store": { singleton: true, }, + "email-addresses": { + singleton: true, + }, }, }), new ExternalTemplateRemotesPlugin(), diff --git a/web/ASC.Web.Editor/webpack.config.js b/web/ASC.Web.Editor/webpack.config.js index 973abdb0ff..ee8a28dcb5 100644 --- a/web/ASC.Web.Editor/webpack.config.js +++ b/web/ASC.Web.Editor/webpack.config.js @@ -160,6 +160,12 @@ const config = { singleton: true, requiredVersion: deps["react-dom"], }, + "email-addresses": { + singleton: true, + }, + "fast-deep-equal": { + singleton: true, + }, }, }), new ExternalTemplateRemotesPlugin(), diff --git a/web/ASC.Web.Login/webpack.config.js b/web/ASC.Web.Login/webpack.config.js index ab3bf0148f..1922370676 100644 --- a/web/ASC.Web.Login/webpack.config.js +++ b/web/ASC.Web.Login/webpack.config.js @@ -156,6 +156,12 @@ var config = { singleton: true, requiredVersion: deps["react-dom"], }, + "email-addresses": { + singleton: true, + }, + "fast-deep-equal": { + singleton: true, + }, }, }), new ExternalTemplateRemotesPlugin(),