Option to ignore unresolvable mixins

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

@buschtoens đang làm issue này rồi.

Từ ngày 22/12/2019.

  • #171 của @buschtoens — đang mở

Đá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
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 by inspecting postcss-mixins' option handling and the path that reports an unresolvable mixin. Compare the requested behavior with the unresolved option documented for postcss-advanced-variables. Done means users can configure unresolved mixins to be ignored without breaking the build.

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

Mô tả

Given there are multiple configurations for postcss that apply for your project, it can happen that postcss-mixins runs multiple times but the second call has the configuration for the first iteration... then the build can fail, e.g. if the mixin is not resolvable. What would be nice is an option to ignore them, similarly to what postcss-advanced-variables does.

There is an option how to handle unresolved variables, see unresolved option.

My suggestion is to add this to postcss-mixins, too.

Ngôn ngữ chính
JavaScript
Star
486
Fork
49
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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 postcss/postcss-mixins

Tất cả issue của postcss/postcss-mixins

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.