alleyinteractive / alleyinteractive/create-wordpress-plugin

Remove block and asset features if built assets are removed

Đang mở
#534 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PHP
Star
35
Fork
2
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
3

Mô tả

### Description

during configure, if `$needs_built_assets` is `false`, we should remove `class-load-entries.php` and `class-register-block-manifest.php` from `features` and `src/main.php` as these features both deal with built assets.

### Use Case

When built assets are not included, the related php features should not be included.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.