alleyinteractive / alleyinteractive/create-wordpress-plugin

Remove block and asset features if built assets are removed

未關閉
#534 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
PHP
星號
35
分支
2
平均合併
1 天 11 小時
30 天內合併 PR
3

描述

### 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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。