From 7d5f7ad650627a5920a46562819a009409e0cfdc Mon Sep 17 00:00:00 2001 From: Timothy Fisher Date: Sat, 14 Jan 2023 18:17:53 +0000 Subject: [PATCH] fix(react): fix imports in tmpl Closes #14344 --- .../host/files/module-federation/webpack.config.prod.js__tmpl__ | 2 +- .../remote/files/module-federation/webpack.config.js__tmpl__ | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/src/generators/host/files/module-federation/webpack.config.prod.js__tmpl__ b/packages/react/src/generators/host/files/module-federation/webpack.config.prod.js__tmpl__ index d4698dc91e42e..024f04738304e 100644 --- a/packages/react/src/generators/host/files/module-federation/webpack.config.prod.js__tmpl__ +++ b/packages/react/src/generators/host/files/module-federation/webpack.config.prod.js__tmpl__ @@ -1,6 +1,6 @@ const { composePlugins, withNx } = require('@nrwl/webpack'); const { withReact } = require('@nrwl/react'); -const { withModuleFederation } = require('@nrwl/react/module-federation')); +const { withModuleFederation } = require('@nrwl/react/module-federation'); const baseConfig = require('./module-federation.config'); diff --git a/packages/react/src/generators/remote/files/module-federation/webpack.config.js__tmpl__ b/packages/react/src/generators/remote/files/module-federation/webpack.config.js__tmpl__ index 42c59270e0fb5..31055fab95c01 100644 --- a/packages/react/src/generators/remote/files/module-federation/webpack.config.js__tmpl__ +++ b/packages/react/src/generators/remote/files/module-federation/webpack.config.js__tmpl__ @@ -1,6 +1,6 @@ const { composePlugins, withNx } = require('@nrwl/webpack'); const { withReact } = require('@nrwl/react'); -const { withModuleFederation } = require('@nrwl/react/module-federation')); +const { withModuleFederation } = require('@nrwl/react/module-federation'); const baseConfig = require('./module-federation.config');