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 摘要。