Roadmap and Ideas
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 12/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- javascript, typescript
调研方向
This is a prioritized roadmap rather than a task: it bundles printer minification, multi-threading, incremental compilation, ESM migration, a move from jest to node:test, a new doc site and dependency trimming in webpack-dev-server. Nothing here names a file, test or entry point, so a contributor should not start from this issue; it first needs to be split into individual issues, each with a concrete target. If picking one thread, the smallest is probably the pointer to https://github.com/webpack/tsc/issues/171, which should be read before deciding anything. Done means a specific sub-item gets its own scoped issue with a named file or test.
由索引模型根据 Issue 内容生成。
描述
List of our ideas and roadmap for future improvements by priority.
Next round:
- Finish our printer (mode - minification), we should beat/be the same like terser/oxc/swc
- Multi threading (PR with API opened), PR for loader too, need to search other places which we can make parallel
- Incremental compilation
Upcoming:
- Use SourceProcess in JavascriptParser class like we have for CSS and HTML
- Add hooks for CSS and HTML to split these big files into dependency parsers plugins, like we have for JS
- Ability to change syntax tree using "path" API (PR opened)
- 100% types coverage (some any types should be kept for v5, due compatibility reasons, but we can exclude them from counting by special comment and don't count them in overall coverage)
- JSX and TSX support in parser (future built in react and not only support)
- Split our mig printer logic into small visitors after a new "path" API to changes tree will be shipped
Backlog:
- ESMify (migrate all code to ECMA modules), because we can't make webpack v6 fast and it still requires a lot of changes, we can use dual shipping, rewrite the original code to ECMA modules in our repositories and provide commonjs (with node@10, using babel, support entry in exports field), so the original code will be in ECMA modules, but webpack can still use them)
- Migrate to "node:test" instead of "jest"
- New doc site (December/January), need make verification - all pages have the same content, we don't miss some pages, SEO, carefully verification our sponsors blocks)
- Break down large files, need investigate in the each case, we should not lose initial loading
- webpack-dev-server has a lot of dependencies (https://github.com/webpack/webpack-dev-server/blob/master/package.json#L47-L74). We should try to reduce them, we can replace chokidar by watchpack for example, need investigate other replacements
- https://github.com/webpack/tsc/issues/171, let's verify performance usage AI firstly
- 主要语言
- JavaScript
- 星标
- 5
- 派生
- 3
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
webpack/tsc 的其他 Issue
-
meeting
难度 5/5 一周以上 新手友好度 5/100
-
tsc-agenda
难度 4/5 3-5 天 新手友好度 35/100
-
tsc-agenda
难度 5/5 一周以上 新手友好度 25/100
-
tsc-agenda
难度 5/5 一周以上 新手友好度 25/100
-
[TSC]: Feedback forms and collecting opinions可能重新可做 @avivkeller 于 102 天前认领,目前没有进行中的 PR。 未关闭tsc-agenda
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
babalae/bettergi-scripts-list#3905 · 1 条评论 ·
维护者通常 1 天内回复
-
[Bug] "Configure Colota" opens Colota with "Invalid configuration: No configuration data in URL"未关闭
难度 1/5 1-3 小时 新手友好度 87/100
dedicatedcode/reitti#1445 ·
维护者通常 1 天内回复
-
New tool: Uncle Desk可能已有人在做 @github-actions 今天认领。 未关闭submission triage
难度 1/5 1 小时以内 新手友好度 85/100
kausalflow/tools#384 · 1 条评论 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 67/100
-
area: css
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复