diff --git a/src/content/plugins/module-federation-plugin.mdx b/src/content/plugins/module-federation-plugin.mdx index 9b113fafbbba..08b2efa02a86 100644 --- a/src/content/plugins/module-federation-plugin.mdx +++ b/src/content/plugins/module-federation-plugin.mdx @@ -6,6 +6,7 @@ contributors: - chenxsan - burhanuday - christian24 + - KhaledTaymour related: - title: Module Federation url: /concepts/module-federation/ @@ -74,7 +75,7 @@ format(new Date(2014, 1, 11), 'MM/dd/yyyy'); ``` and webpack will automatically share `date-fns` between all your federated modules that define `date-fns` as a shared library. -However, if you want to access something that is not located at the root level of the package, for example `date-fns/locale/en-GB/index.js`, you need need to append `/` to the package name in your `shared` configuration: +However, if you want to access something that is not located at the root level of the package, for example `date-fns/locale/en-GB/index.js`, you need to append `/` to the package name in your `shared` configuration: ```js const { ModuleFederationPlugin } = require('webpack').container;