gpt4 book ai didi

webpack - webpack-serve 与 webpack-dev-server 有何不同?

转载 作者:行者123 更新时间:2023-12-03 20:24:51 25 4
gpt4 key购买 nike

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 | |
+-----------------+--------------------------+----------------------+
来源
  • 官方 repo
  • Webpack-serve Up a Side of Whoop-Ass
  • I investigated webpack-serve which seems to be the successor of webpack-dev-server
  • Gloc (用于行计数的 Chrome 扩展程序。考虑所有字符串)
  • Total section

  • https://www.reddit.com/r/javascript/comments/7pg2rq/webpackdevserver_is_now_in_maintenance_mode/dsgwxjd/?st=jf286v37&sh=0336089c

    关于webpack - webpack-serve 与 webpack-dev-server 有何不同?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49418818/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com