How do I register multiple blocks with block.json and register_block_type_from_metadata?

Figured it out, in the block.json script needs a new relative location to the build directory, so new code:

"editorScript": "file:../../build/index.js",
"editorStyle": "file:../../build/index.css",
"style": "file:../../build/style-index.css"

Leave a Comment