Skip to content

Blocks in themes - for all the rebels out there that don't give a fig

Notifications You must be signed in to change notification settings

marincarroll/mcbit

Repository files navigation

mcbit

Blocks in themes - for all the rebels out there that don't give a fig

References used:

This is what we're overriding to do the unthinkable.

I referenced their file structure and repurposed their automatic registration of custom blocks function

Great reference for anyone who wants to use @wordpress/scripts with a different file structure

I used this as a guideline for how to build 'non-blocks' with wp-scripts (for example, mods to core blocks, custom text formats, editor controls that are applied to multiple blocks, etc...). I used this to improve my webpack config, and to learn how to create two different wp-scripts builds in the same project with CLI flags.