From f25c5f7e65d64fdefd0c72b7001cbc61e862172d Mon Sep 17 00:00:00 2001 From: Romuald Brillout Date: Thu, 18 Sep 2025 12:25:26 +0200 Subject: [PATCH 1/2] fix: improve workaround --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index ea04959..3428e0f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -9,5 +9,6 @@ export default defineConfig({ // @ts-ignore vitePluginServerEntry: { disableAutoImport: true, + disableServerEntryEmit: true }, }); From 242970618b45c14edd73c29f3e3aa73df2a1ca80 Mon Sep 17 00:00:00 2001 From: Romuald Brillout Date: Thu, 18 Sep 2025 12:29:18 +0200 Subject: [PATCH 2/2] Revert "Document Workaround" This reverts commit 9dde82918410b0ad8358bb48f45d2b90647303e3. --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index c1333e5..8496ab1 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,4 @@ npm run build # Build for production npm run start # Start the production build ``` -Note that the `start` command uses a different file than default react-router : -`react-router-serve ./build/server/index2.js` - -This is a workaround for a bundling issue, which might be fixed soon. - Special thanks to @brillout for creating [Telefunc](https://github.com/brillout/telefunc) and troubleshooting the build issues. -