Multi Block Build and Plugin/SlotFill (or Custom Data Store) not specifically related to a block (or specific block) #85
aaronware
started this conversation in
Examples Ideas
Replies: 1 comment
-
Hi @aaronware! This seems like an interesting use case to add to this repo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are multiblock examples and NO BLOCK examples already however not both together.
If you are using a Slotfill unrelated to a specific block, you'll need add a custom webpack.config.js to your src in order for the additional js to be taken into account. The config has to be very particular from what I have seen. Or else the build process will only emit [copied] the block.json in the build process an the other elements such as the js,assets.php will not be built.
Beta Was this translation helpful? Give feedback.
All reactions