I want to extend the plugin to deliver additional blocks.
In my oik-blocks plugin each block is in its own subdirectory of the src folder and there's an index.js file that imports these directories. I assume that we can do the same using the wp-scripts solution.
The first stage is to move the files in the src directory into src\children-blocks and create a new src\index.js
I want to extend the plugin to deliver additional blocks.
In my oik-blocks plugin each block is in its own subdirectory of the
src
folder and there's anindex.js
file that imports these directories. I assume that we can do the same using thewp-scripts
solution.The first stage is to move the files in the
src
directory intosrc\children-blocks
and create a newsrc\index.js
and rebuild and retest.