Skip to content

Commit 6a52160

Browse files
authored
docs: Correct location of assetHookStage in README (#290)
1 parent 180940c commit 6a52160

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ With the default options, the example above will create a `manifest.json` file i
8181

8282
### Options
8383

84+
### `assetHookStage`
85+
86+
Type: `Number`<br>
87+
Default: `Infinity`
88+
89+
If you need to consume the output of this plugin in another plugin, it can be useful to adjust the stage at which the manifest is generated. Pass a new stage to `assetHookStage` to change when the manifest is generated. See the [docs on `processAssets`](https://webpack.js.org/api/compilation-hooks/#list-of-asset-processing-stages) for more detail.
90+
91+
Note: any files added to the compilation after the stage specified will not be included in the manifest.
92+
8493
### `basePath`
8594

8695
Type: `String`<br>
@@ -230,15 +239,6 @@ This plugin supports the following hooks via the `getCompilerHooks` export; `aft
230239

231240
Returns: `{ afterEmit: SyncWaterfallHook, beforeEmit: SyncWaterfallHook }`
232241

233-
### `assetHookStage`
234-
235-
Type: `Number`
236-
Default: `Infinity`
237-
238-
If you need to consume the output of this plugin in another plugin, it can be useful to adjust the stage at which the manifest is generated. Pass a new stage to `assetHookStage` to change when the manifest is generated. See the [docs on `processAssets`](https://webpack.js.org/api/compilation-hooks/#list-of-asset-processing-stages) for more detail.
239-
240-
Note: any files added to the compilation after the stage specified will not be included in the manifest.
241-
242242
#### Usage
243243

244244
```js

0 commit comments

Comments
 (0)