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: docs/pages/build.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,15 +194,11 @@ Define a custom build target. This is useful to call code generators during the
194
194
195
195
##### `script`
196
196
197
-
`bob` will run the script passed in the `script` option. The build process **will throw and exit** if the `build` target is defined without this option.
198
-
199
-
##### `cwd`
200
-
201
-
You can set the `cwd` (current working directory) option to specify where the command should be called from. This option accepts **a relative path**, and it will default to the path `build` was called from.
197
+
Accepts a script name. `bob` will call the matching script defined under `package.json`'s `scripts` property. The build process **will throw and exit** if the target is defined without this option.
202
198
203
199
##### `clean`
204
200
205
-
You can pass a path to this option and `bob` will delete all the files on that path. The path is resolved relatively to the `cwd` option.
201
+
You can pass a path to this option and `bob` will delete all the files on that path. The path is resolved relatively to where `build` was called from.
0 commit comments