Skip to content

Commit e019ea0

Browse files
authored
Correctly specify type of writeBundle hook in docs (#3441)
1 parent c0b73e4 commit e019ea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/05-plugin-development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ resolveImportMeta(property, {moduleId}) {
413413
Note that since this hook has access to the filename of the current chunk, its return value will not be considered when generating the hash of this chunk.
414414

415415
#### `writeBundle`
416-
Type: `( bundle: { [fileName: string]: AssetInfo | ChunkInfo }) => void`<br>
416+
Type: `(options: OutputOptions, bundle: { [fileName: string]: AssetInfo | ChunkInfo }) => void`<br>
417417
Kind: `async, parallel`<br>
418418
Previous Hook: [`generateBundle`](guide/en/#generatebundle)<br>
419419
Next Hook: If it is called, this is the last hook of the output generation phase and may again be followed by [`outputOptions`](guide/en/#outputoptions) if another output is generated.

0 commit comments

Comments
 (0)