Skip to content

Commit

Permalink
Docs: Fix incorrect build script description in script package (WordP…
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored Nov 21, 2023
1 parent a8de73d commit d4c367d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ This is how you execute the script with presented setup:
- `npm run build` - builds the code for production.
- `npm run build:custom` - builds the code for production with two entry points and a custom output directory. Paths for custom entry points are relative to the project root.
- `npm run build:copy-php` - builds the code for production and opts into copying all PHP files from the `src` directory and its subfolders to the output directory. By default, only PHP files listed in the `render` field in the detected `block.json` files get copied.
- `build:custom-directory` - builds the code for production using the `custom-directory` as the source code directory.
- `npm run build:custom-directory` - builds the code for production using the `custom-directory` as the source code directory.

This script automatically use the optimized config but sometimes you may want to specify some custom options:

Expand Down

0 comments on commit d4c367d

Please sign in to comment.