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

Bundling should allow to mark input bundles as "do not resolve"

Đang mở
#351 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
build-system

Hướng nghiên cứu

Start with the bundle definition handling and the module-existence logic in lib/lbt/bundle/Resolver.js, especially lines 63-78. Reproduce the issue by bundling sap/viz/ and inspect the resolver output. Done means an input bundle can be explicitly marked not to dissolve, the build remains functional, and the spurious missing-module errors no longer appear.

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

Mô tả

module/ui5-builder

Expected Behavior

Bundling should allow to specify an input source file as "bundle that must not be dissolved into pieces" and rather embed the input source as a whole.

Current Behavior

When a bundle is created that includes e.g. one of the sap-viz-* bundles, the builder logs many errors like

ERR! lbt:bundle:Resolver **** error: missing module sap/viz/framework/common/util/NameColorUtils.js, required by sap/viz/libs/sap-viz-info-charts.js

The resulting bundle works, but the log messages are annoying. And the current logic that checks for any module to exist might lead to unexpected behavior. It might be better to mark the input bundle explicitly as "do not dissolve".

Steps to reproduce the issue

  1. Create a bundle definition that includes sap/viz/
  2. Build the bundle
  3. Watch the console output

Affected components (if known)

Ngôn ngữ chính
JavaScript
Star
511
Fork
83
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
50

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 UI5/cli

Tất cả issue của UI5/cli

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.