From 6e9c447e3f8fc4dee540190c31459bf180d0d6ec Mon Sep 17 00:00:00 2001 From: fengdanping Date: Sun, 2 Feb 2025 19:23:35 +0800 Subject: [PATCH] chore: fix ci issue --- .../router-host-2000/rsbuild.config.ts | 14 +++++++------- apps/router-demo/router-host-2000/src/App.tsx | 18 +++++++++++------- .../router-remote1-2001/rsbuild.config.ts | 14 +++++++------- 3 files changed, 25 insertions(+), 21 deletions(-) diff --git a/apps/router-demo/router-host-2000/rsbuild.config.ts b/apps/router-demo/router-host-2000/rsbuild.config.ts index 00c34f80c9..2723e7380b 100644 --- a/apps/router-demo/router-host-2000/rsbuild.config.ts +++ b/apps/router-demo/router-host-2000/rsbuild.config.ts @@ -35,19 +35,19 @@ export default defineConfig({ 'react-dom': { singleton: true, }, - 'react-router-dom': { - // singleton: true, - requiredVersion: '6.x', - }, + // 'react-router-dom': { + // // singleton: true, + // requiredVersion: '6.x', + // }, }, runtimePlugins: [ path.join(__dirname, './src/runtime-plugin/shared-strategy.ts'), path.join(__dirname, './src/runtime-plugin/retry.ts'), path.join(__dirname, './src/runtime-plugin/fallback.ts'), ], - bridge: { - disableAlias: true, - }, + // bridge: { + // disableAlias: true, + // }, }), ], }); diff --git a/apps/router-demo/router-host-2000/src/App.tsx b/apps/router-demo/router-host-2000/src/App.tsx index a19532b6ab..75262c77ce 100644 --- a/apps/router-demo/router-host-2000/src/App.tsx +++ b/apps/router-demo/router-host-2000/src/App.tsx @@ -102,12 +102,12 @@ function Wraper3() {

Remote1

- {/* */} - + {/* + /> */}

Remote2

@@ -150,13 +150,17 @@ const App = () => { ( - + - // )} />