Skip to content

Commit

Permalink
create-block - fix - update default folder name to proper default (#6…
Browse files Browse the repository at this point in the history
…3530)

Co-authored-by: tomllobet <[email protected]>
Co-authored-by: ryanwelcher <[email protected]>
  • Loading branch information
3 people authored Jul 13, 2024
1 parent a48b1ff commit 4a5a3a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-block/docs/external-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ The following configurable variables are used with the template files. Template

**Block metadata** ([learn more](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/)):

- `folderName` (default: `.`) – the location for the `block.json` file and other optional block files generated from block templates included in the folder set with the `blockTemplatesPath` setting.
- `folderName` (default: `src`) – the location for the `block.json` file and other optional block files generated from block templates included in the folder set with the `blockTemplatesPath` setting.
- `$schema` (default: `https://schemas.wp.org/trunk/block.json`) – the schema URL used for block validation.
- `apiVersion` (default: `2`) – the block API version ([related dev note](https://make.wordpress.org/core/2020/11/18/block-api-version-2/)).
- `slug` (no default) – the block slug used for identification in the block name.
Expand Down

0 comments on commit 4a5a3a8

Please sign in to comment.