Reduce `webpack-dev-server` dependencies

未关闭
#169 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
领域
tooling

调研方向

从 package.json 第 47-74 行开始,根据提案中列出的 Node.js v20 API 检查当前 webpack-dev-server 依赖项列表。评估列出的替代项,然后验证选定的依赖项已被移除或替换,并且依赖项数量已减少,同时不改变预期的服务器行为。

由索引模型根据 Issue 内容生成。

描述

Motivation

webpack-dev-server has a lot of dependencies (https://github.com/webpack/webpack-dev-server/blob/master/package.json#L47-L74). If/when this package is upgraded to Node.js v20, we should be able to reduce the dependency count significantly.

Proposal Description

Examples of packages that can be removed/replaced are:

  • chokidar: node:fs's watch
  • colorette: node:util's styleText
  • compression: node:zlib
  • ws: WebSocket
  • etc
Expected Deliverables

No response

Skills Needed

Node.js, WebSockets, Express

References & Prior Art

No response

Difficulty

Intermediate

主要语言
JavaScript
星标
5
派生
3
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

webpack/tsc 的其他 Issue

查看 webpack/tsc 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。