Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

every-plugin: allow build.config.ts to append rspack plugins

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
build-system

Hướng nghiên cứu

Start by reading createPluginBaseConfig and the build configuration types, then find the unit tests for composed rspack configuration. Verify the test covers defaults, appended plugins, and their order; done means workspace build.config.ts plugins run after the composed defaults, builds without overrides stay unchanged, and a changeset is added for every-plugin.

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

Mô tả

ready-for-agent

Parent

#444

What to build

Plugin workspaces can extend the composed rspack config from their own build.config.ts by appending rspack plugin instances. Today createPluginBaseConfig hardcodes the plugins array after spreading options, so overrides cannot add plugins — the docs plugin (and any future build-time integration like Velite) needs this sanctioned escape hatch. "Make the change easy, then make the easy change."

Blocked by: None (can start immediately)

Acceptance criteria

  • A workspace build.config.ts can supply rspack plugins that are appended after the composed defaults (EveryPluginComposedBuild, manifest emission, etc.) and run during every-plugin build
  • Unit test covers the merge: defaults present, appended plugins present, order preserved
  • Existing plugin builds unchanged when no overrides are declared
  • Changeset added for every-plugin
Ngôn ngữ chính
TypeScript
Star
5
Fork
3
Merge trung bình
10 giờ 12 phút
Pull request đã merge (30 ngày)
102

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 NEARBuilders/everything-dev

Tất cả issue của NEARBuilders/everything-dev

Issue tương tự

Thêm issue về TypeScript

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.