Roadmap and Ideas

Đang mở
#183 2 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

tsc-agenda

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
Ngôn ngữ chính
JavaScript
Star
5
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của webpack/tsc

Tất cả issue của webpack/tsc

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.