@docusaurus/types 0.0.0-4488 → 0.0.0-4492
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/types",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4492",
|
|
4
4
|
"description": "Common types for Docusaurus packages.",
|
|
5
5
|
"types": "./src/index.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"webpack": "^5.61.0",
|
|
24
24
|
"webpack-merge": "^5.8.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "415285c8972b89d17923fe23bed2eedab3daa393"
|
|
27
27
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -258,7 +258,7 @@ export interface Plugin<Content = unknown> {
|
|
|
258
258
|
actions: PluginContentLoadedActions;
|
|
259
259
|
}) => Promise<void>;
|
|
260
260
|
routesLoaded?: (routes: RouteConfig[]) => void; // TODO remove soon, deprecated (alpha-60)
|
|
261
|
-
postBuild?: (props: Props) => void
|
|
261
|
+
postBuild?: (props: Props & {content: Content}) => Promise<void>;
|
|
262
262
|
postStart?: (props: Props) => void;
|
|
263
263
|
// TODO refactor the configureWebpack API surface: use an object instead of multiple params (requires breaking change)
|
|
264
264
|
configureWebpack?: (
|