Skip to content

Commit 3683797

Browse files
fix e2e webpack control share
1 parent df3e2df commit 3683797

File tree

9 files changed

+30334
-21883
lines changed

9 files changed

+30334
-21883
lines changed

angular14-react/pnpm-lock.yaml

Lines changed: 6431 additions & 4515 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cra-react-app-rewired/pnpm-lock.yaml

Lines changed: 7030 additions & 4579 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nextjs-dynamic-ssr/pnpm-lock.yaml

Lines changed: 1534 additions & 1237 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nextjs-ssr/pnpm-lock.yaml

Lines changed: 1581 additions & 1280 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-lock.yaml

Lines changed: 2412 additions & 1001 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

react-manifest-example/pnpm-lock.yaml

Lines changed: 1574 additions & 1276 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

runtime-plugins/control-sharing/app2/webpack.config.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const HtmlWebpackPlugin = require('html-webpack-plugin');
2-
const { ModuleFederationPlugin } = require('@module-federation/enhanced');
2+
const { ModuleFederationPlugin } = require('@module-federation/enhanced/webpack');
33
const path = require('path');
44

55
// adds all your dependencies as shared modules
@@ -44,7 +44,7 @@ module.exports = {
4444
name: 'app2',
4545
filename: 'remoteEntry.js',
4646
remotes: {
47-
app1: 'app1@http://localhost:3001/remoteEntry.js?orgId=blabla',
47+
app1: 'app1@http://localhost:3001/remoteEntry.js',
4848
},
4949
exposes: {
5050
'./Button': './src/Button',
@@ -54,9 +54,6 @@ module.exports = {
5454
...deps,
5555
react: {
5656
singleton: true,
57-
import: '/Users/bytedance/dev/module-federation-examples/runtime-plugins/control-sharing/app2/node_modules/react/index.js',
58-
packageName: 'react',
59-
version: dependencies.react
6057
},
6158
'react-dom': {
6259
singleton: true,

runtime-plugins/remote-router/pnpm-lock.yaml

Lines changed: 7696 additions & 6343 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

umd-federation/pnpm-lock.yaml

Lines changed: 2074 additions & 1647 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)