Create block template
This is a template for @wordpress/create-block.
What does it modify?
It inherits from the esnext template and adds following functionality:
- Fixes webpack conflicts from this issue
- Adds
wp-env
to run a development server easily - Automatically configures a Github action for automatic submission of releases to WordPress.org plugin repository
- Automatically sets up
phpcs
viacomposer
to lint your PHP files.
How do I use it?
For generating a new block, you can just
npx @wordpress/create-block --template @artpi/create-block-template