diff --git a/examples/default-template/package.json b/examples/default-template/package.json index 95e5176..e702ab1 100644 --- a/examples/default-template/package.json +++ b/examples/default-template/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "rsbuild build", "dev": "rsbuild dev", - "start": "react-router-serve ./build/server/index.js", + "start": "react-router-serve ./build/server/static/js/app.js", "typecheck": "react-router typegen && tsc", "test:e2e": "pnpm run dev & sleep 5 && playwright test", "test:e2e:debug": "playwright test --debug", diff --git a/examples/default-template/rsbuild.config.ts b/examples/default-template/rsbuild.config.ts index 49e7e5a..8a7391d 100644 --- a/examples/default-template/rsbuild.config.ts +++ b/examples/default-template/rsbuild.config.ts @@ -11,6 +11,6 @@ declare module 'react-router' { export default defineConfig(() => { return { - plugins: [pluginReactRouter({serverOutput: "commonjs"}), pluginReact()], + plugins: [pluginReactRouter(), pluginReact()], }; });