webpack-serve
: https://github.com/webpack-contrib/webpack-serve
webpack-dev-server
: https://github.com/webpack/webpack-dev-server
它们都声称是webpack的开发服务器,它们有什么不同之处?
webpack-serve
: https://github.com/webpack-contrib/webpack-serve
webpack-dev-server
: https://github.com/webpack/webpack-dev-server
它们都声称是webpack的开发服务器,它们有什么不同之处?
+-----------------+--------------------------+----------------------+
| | webpack-dev-server | webpack-serve |
+-----------------+--------------------------+----------------------+
| Initial release | 23 Dec 2014 | 12 feb 2018 |
| Total releases | 74 | 7 |
| Github stars | 3449 | 231 |
| Lines of code | 28301 | 16075 |
| under the hood | Express.js (22047 lines) | Koa.js (8913 lines)| |
| API | not aligned | API first |
| Mode | active (support, update) | deprecated (mar 2018)|
| Total | work slower but supports | fast alternative |
| | old browsers | |
+-----------------+--------------------------+----------------------+
参考来源