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. - 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 }, });