Replies: 1 comment
-
Thanks, we will investigate this feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To begin with, thank you so much for the Multi-Environment Builds api!
But also it would be nice to have a native rsbuild api for cases, when the application can not only render some UI on the server, but may be have a small backend for frontend layer
Like in this example on every request load web bundle and render
https://github.com/rspack-contrib/rspack-examples/blob/main/rsbuild/ssr-express/server.mjs#L27
and when you have more than one route for ssr, you need to create custom HMR handler. such as
or something that https://github.com/sowtame/rsbuild-server-client-side/blob/main/server.mjs#L80
maybe some api when you can handle this logic by rsbuildServer api...
Beta Was this translation helpful? Give feedback.
All reactions