@docusaurus/core 3.10.1-canary-6615 → 3.10.1-canary-6618
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/lib/server/config.js +1 -1
- package/package.json +11 -11
package/lib/server/config.js
CHANGED
|
@@ -33,7 +33,7 @@ async function loadSiteConfig({ siteDir, customConfigFilePath, }) {
|
|
|
33
33
|
if (!(await fs_extra_1.default.pathExists(siteConfigPath))) {
|
|
34
34
|
throw new Error(`Config file at "${siteConfigPath}" not found.`);
|
|
35
35
|
}
|
|
36
|
-
const importedConfig = await (0, utils_1.loadFreshModule)(siteConfigPath);
|
|
36
|
+
const importedConfig = await (0, utils_1.loadFreshModule)(siteConfigPath, { default: true });
|
|
37
37
|
const loadedConfig = typeof importedConfig === 'function'
|
|
38
38
|
? await importedConfig()
|
|
39
39
|
: await importedConfig;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/core",
|
|
3
3
|
"description": "Easy to Maintain Open Source Documentation Websites",
|
|
4
|
-
"version": "3.10.1-canary-
|
|
4
|
+
"version": "3.10.1-canary-6618",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"url": "https://github.com/facebook/docusaurus/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@docusaurus/babel": "3.10.1-canary-
|
|
37
|
-
"@docusaurus/bundler": "3.10.1-canary-
|
|
38
|
-
"@docusaurus/logger": "3.10.1-canary-
|
|
39
|
-
"@docusaurus/mdx-loader": "3.10.1-canary-
|
|
40
|
-
"@docusaurus/utils": "3.10.1-canary-
|
|
41
|
-
"@docusaurus/utils-common": "3.10.1-canary-
|
|
42
|
-
"@docusaurus/utils-validation": "3.10.1-canary-
|
|
36
|
+
"@docusaurus/babel": "3.10.1-canary-6618",
|
|
37
|
+
"@docusaurus/bundler": "3.10.1-canary-6618",
|
|
38
|
+
"@docusaurus/logger": "3.10.1-canary-6618",
|
|
39
|
+
"@docusaurus/mdx-loader": "3.10.1-canary-6618",
|
|
40
|
+
"@docusaurus/utils": "3.10.1-canary-6618",
|
|
41
|
+
"@docusaurus/utils-common": "3.10.1-canary-6618",
|
|
42
|
+
"@docusaurus/utils-validation": "3.10.1-canary-6618",
|
|
43
43
|
"boxen": "^6.2.1",
|
|
44
44
|
"chalk": "^4.1.2",
|
|
45
45
|
"chokidar": "^3.5.3",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"webpack-merge": "^6.0.1"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@docusaurus/module-type-aliases": "3.10.1-canary-
|
|
81
|
-
"@docusaurus/types": "3.10.1-canary-
|
|
80
|
+
"@docusaurus/module-type-aliases": "3.10.1-canary-6618",
|
|
81
|
+
"@docusaurus/types": "3.10.1-canary-6618",
|
|
82
82
|
"@total-typescript/shoehorn": "^0.1.2",
|
|
83
83
|
"@types/detect-port": "^1.3.3",
|
|
84
84
|
"@types/react-dom": "^19.2.3",
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"engines": {
|
|
105
105
|
"node": ">=24.14"
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "c36baefea652085c69acd0e008314f4541a174e1"
|
|
108
108
|
}
|