Skip to content

Commit abffdfb

Browse files
committed
Update commands.mdx
1 parent 9dd882d commit abffdfb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/content/docs/workers/wrangler/commands.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,9 +1980,11 @@ After you run `wrangler check startup`, you can import the profile into Chrome D
19801980
wrangler check startup
19811981
```
19821982

1983-
- `--deploy-args` <Type text="string" /> <MetaInfo text="optional" />
1984-
- To customise the way `wrangler check startup` builds your Worker for analysis, provide the exact arguments you use when deploying your Worker with `wrangler deploy`. For instance, if you deploy your Worker with `wrangler deploy --no-bundle`, you should use `wrangler check startup --deploy-args="--no-bundle"` to profile the startup phase.
1985-
- `--worker-bundle` <Type text="string" /> <MetaInfo text="optional" />
1986-
- If you don't use Wrangler to deploy your Worker, you can use this argument to provide a Worker bundle to analyse. This should be a file path to a serialized multipart upload, with the exact same format as [the API expects](/api/resources/workers/subresources/scripts/methods/update/)
1983+
- `--args` <Type text="string" /> <MetaInfo text="optional" />
1984+
- To customise the way `wrangler check startup` builds your Worker for analysis, provide the exact arguments you use when deploying your Worker with `wrangler deploy`, or your Pages project with `wrangler pages functions build`. For instance, if you deploy your Worker with `wrangler deploy --no-bundle`, you should use `wrangler check startup --args="--no-bundle"` to profile the startup phase.
1985+
- `--worker` <Type text="string" /> <MetaInfo text="optional" />
1986+
- If you don't use Wrangler to deploy your Worker, you can use this argument to provide a Worker bundle to analyse. This should be a file path to a serialized multipart upload, with the exact same format as [the API expects](/api/resources/workers/subresources/scripts/methods/update/).
1987+
- `--pages` <Type text="boolean" /> <MetaInfo text="optional" />
1988+
- If you don't use a Wrangler config file with your Pages project (i.e. a Wrangler config file containing `pages_build_output_dir`), use this flag to force `wrangler check startup` to treat your project as a Pages project.
19871989

19881990
<Render file="wrangler-commands/global-flags" product="workers" />

0 commit comments

Comments
 (0)