Closed kauaicreative closed 1 year ago
Did your plugin had the blocks? because probably is an issue in the generator and not in the boilerplate: https://github.com/WPBP/generator
Checked the code, it is a generator bug and not in the boilerplate. We just remove the php files but not that line in the webpack.config.js. I am working on a fix.
Bug fixed in the latest release of the generator https://github.com/WPBP/generator/releases/tag/1.3.6 For the future if there are issues on the generator can you open a ticket in the right repository? just to avoid confusion for me
Here is a bug and a fix.
"snippet": { "backend": ["block"] ...
npm i
will throw an error trying to compile the missingassets/src/plugin-block.js
.commenting out 'plugin-block' in webpack.config.js fixes the issue.