From 1c3ebfc055e2c4bf59a32e6a589c585784957d6f Mon Sep 17 00:00:00 2001 From: Tim Fisher Date: Fri, 20 Jan 2023 19:19:55 +0000 Subject: [PATCH] fix(react): fix imports in tmpl (#14369) --- .../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');