Matt Kilpatrick
Matt Kilpatrick
It's worth noting that my route handling is set up to handle a special root page: ``` app.use( /^\/(.+)/, serverRenderRoute({ vite }) ); // Serve the index page at the...
Would love to see this added as well. Is there a workaround for the time being?
@bluwy it appears to be related to babel ``` SyntaxError: /Users/mkilpatrick/Desktop/site-starter-react-basic/src/templates/index.tsx?update=1652978858508: Support for the experimental syntax 'importAssertions' isn't currently enabled (23:31): 21 | import { renderToString } from 'react-dom/server'; 22...
> I also wonder why one would reach out to import assertions in the first place if they know what Vite does under the hood Do you mean why would...
Any chance of this making it into 3.0?
Is there any plan to address this issue? We've found that setting a CacheSizeMax results in using a lot more heap memory and then ultimately still doesn't limit disk cache...
We've experience the issue described in the linked issue of go-github. Is there any reason this wasn't merged in?
Bump on this PR. Would love to see it merged!
Here's a reproduction - https://github.com/mkilpatrick/vite-ssr-react-base/tree/url-space. Start up the server and go to http://localhost:5173/about vs http://localhost:5173/about%20me. It's related to inline modules and SSR. ``` [vite] Internal server error: Cannot read properties...
There's a PR for this. Can it be merged?