@docusaurus/types
Advanced tools
Comparing version 2.0.0-alpha.25 to 2.0.0-alpha.26
{ | ||
"name": "@docusaurus/types", | ||
"version": "2.0.0-alpha.25", | ||
"version": "2.0.0-alpha.26", | ||
"description": "Common used typings for Docusaurus packages", | ||
@@ -15,3 +15,3 @@ "main": "./src/index.js", | ||
}, | ||
"gitHead": "8d4def5c08887a4b3000883a9082518058cf484c" | ||
"gitHead": "d1e426afd8ba5698dcbef851b39b0b800f4a67c6" | ||
} |
@@ -22,2 +22,14 @@ import {Loader, Configuration} from 'webpack'; | ||
}; | ||
scripts?: ( | ||
| string | ||
| { | ||
src: string; | ||
[key: string]: any; | ||
})[]; | ||
stylesheets?: ( | ||
| string | ||
| { | ||
href: string; | ||
[key: string]: any; | ||
})[]; | ||
} | ||
@@ -61,3 +73,3 @@ | ||
name: string; | ||
loadContent?(): T; | ||
loadContent?(): Promise<T>; | ||
contentLoaded?({ | ||
@@ -72,3 +84,7 @@ content, | ||
postStart?(props: Props): void; | ||
configureWebpack?(config: Configuration, isServer: boolean): Configuration; | ||
configureWebpack?( | ||
config: Configuration, | ||
isServer: boolean, | ||
utils: ConfigureWebpackUtils, | ||
): Configuration; | ||
getThemePath?(): string; | ||
@@ -75,0 +91,0 @@ getPathsToWatch?(): string[]; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4326
119
27
40
5
233