You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/create-block/README.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,7 @@ The rest of the configuration is set to all default values unless overridden wit
67
67
--wp-scripts enable integration with `@wordpress/scripts` package
68
68
--no-wp-scripts disable integration with `@wordpress/scripts` package
69
69
--wp-env enable integration with `@wordpress/env` package
70
+
--textdomain <value> text domain for internationalization
70
71
-h, --help output usage information
71
72
```
72
73
@@ -108,6 +109,14 @@ With this argument, the `create-block` package will add to the generated plugin
108
109
$ npx @wordpress/create-block@latest --wp-env
109
110
```
110
111
112
+
#### `--textdomain`
113
+
114
+
With this argument, the `create-block` package will a generate a block with the provided text domain. If not specified, the block’s slug is used as the default text domain.
0 commit comments