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: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,15 @@ With the default options, the example above will create a `manifest.json` file i
81
81
82
82
### Options
83
83
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
+
84
93
### `basePath`
85
94
86
95
Type: `String`<br>
@@ -230,15 +239,6 @@ This plugin supports the following hooks via the `getCompilerHooks` export; `aft
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.
0 commit comments