Skip to content

Commit ee9630c

Browse files
authored
Merge pull request #3 from brillout/brillout/dev
fix: add second workaround
2 parents 9dde829 + 2429706 commit ee9630c

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,4 @@ npm run build # Build for production
1717
npm run start # Start the production build
1818
```
1919

20-
Note that the `start` command uses a different file than default react-router :
21-
`react-router-serve ./build/server/index2.js`
22-
23-
This is a workaround for a bundling issue, which might be fixed soon.
24-
2520
Special thanks to @brillout for creating [Telefunc](https://github.com/brillout/telefunc) and troubleshooting the build issues.
26-

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ export default defineConfig({
99
// @ts-ignore
1010
vitePluginServerEntry: {
1111
disableAutoImport: true,
12+
disableServerEntryEmit: true
1213
},
1314
});

0 commit comments

Comments
 (0)