Replies: 2 comments
-
I think express is more suitable since webpack-dev-server use express internally, which makes the compatible problem more easy, and express middleware is more mature and rich than koa. |
Beta Was this translation helpful? Give feedback.
0 replies
-
we may also need to investigate which middlewares should dev-server support internally, like cors、 rewrite、http-proxy and so on, and do we need to separate dev-server to another package like webpack |
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
-
Summary
This RFC contains two parts
Motivation
Let users use rspack with a development server that provides live reloading.
Dependency
The dev server requires two pre-prerequisites:
Detailed design
Webpack
Webpack also has a separated webpack-dev-server and webpack-dev-middleware to support local development; mainly have the following major features.
Existing questions and discussions
Beta Was this translation helpful? Give feedback.
All reactions