Log1x / acf-composer

Compose ACF Fields, Blocks, Widgets, and Option Pages with ACF Builder on Sage 10.
https://github.com/Log1x/acf-composer
MIT License
398 stars 53 forks source link

🚧 Implement block.json generation when caching #224

Closed Log1x closed 4 months ago

Log1x commented 4 months ago

This is a WIP attempt at generating and using block.json files when running acf:cache for #223

It still needs style/script support but I haven't figured out the best way to pull that off while maintaining some kind of compatibility with assets().

Please test using composer require log1x/acf-composer:dev-feat/json-blocks and then compile with acorn acf:cache.

Log1x commented 4 months ago

I'm noticing a massive unexpected increase in performance when loading custom blocks in the editor. The loading indicator is non-existent now for pages with multiple blocks. âš¡