alleyinteractive / alleyinteractive/create-wordpress-plugin

Remove block and asset features if built assets are removed

Aperta
#534 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
35
Fork
2
Merge medio
1g 11h
PR unite (30g)
3

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.