@docusaurus/types 3.6.0-canary-6136 → 3.6.0-canary-6140
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/config.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/types",
|
|
3
|
-
"version": "3.6.0-canary-
|
|
3
|
+
"version": "3.6.0-canary-6140",
|
|
4
4
|
"description": "Common types for Docusaurus packages.",
|
|
5
5
|
"types": "./src/index.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"react": "^18.0.0",
|
|
28
28
|
"react-dom": "^18.0.0"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "109e2919c303fbba0a3e5b037f1862d2a244c76b"
|
|
31
31
|
}
|
package/src/config.d.ts
CHANGED
|
@@ -431,7 +431,7 @@ export type DocusaurusConfig = {
|
|
|
431
431
|
// TODO Docusaurus v4
|
|
432
432
|
// Use an object type ({isServer}) so that it conforms to jsLoaderFactory
|
|
433
433
|
// Eventually deprecate this if swc loader becomes stable?
|
|
434
|
-
jsLoader
|
|
434
|
+
jsLoader?: 'babel' | ((isServer: boolean) => RuleSetRule);
|
|
435
435
|
};
|
|
436
436
|
/** Markdown-related options. */
|
|
437
437
|
markdown: MarkdownConfig;
|