@docusaurus/core 3.7.0-canary-6310 → 3.7.0-canary-6313
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/webpack/base.js +5 -2
- package/package.json +11 -11
package/lib/webpack/base.js
CHANGED
|
@@ -135,6 +135,9 @@ async function createBaseConfig({ props, isServer, minify, faster, configureWebp
|
|
|
135
135
|
// See https://github.com/facebook/docusaurus/issues/10646
|
|
136
136
|
// @ts-expect-error: Rspack-only, not available in Webpack typedefs
|
|
137
137
|
incremental: !isProd && !process.env.DISABLE_RSPACK_INCREMENTAL,
|
|
138
|
+
// TODO re-enable later, there's an Rspack performance issue
|
|
139
|
+
// see https://github.com/facebook/docusaurus/pull/11178
|
|
140
|
+
parallelCodeSplitting: false,
|
|
138
141
|
...PersistentCacheAttributes,
|
|
139
142
|
};
|
|
140
143
|
}
|
|
@@ -193,13 +196,13 @@ async function createBaseConfig({ props, isServer, minify, faster, configureWebp
|
|
|
193
196
|
modules: ['node_modules', path_1.default.join(siteDir, 'node_modules')],
|
|
194
197
|
},
|
|
195
198
|
optimization: {
|
|
196
|
-
// The
|
|
199
|
+
// The optimization.concatenateModules is expensive
|
|
197
200
|
// - On the server, it's not useful to run it at all
|
|
198
201
|
// - On the client, it leads to a ~3% JS assets total size decrease
|
|
199
202
|
// Let's keep it by default, but large sites may prefer faster builds
|
|
200
203
|
// See also https://github.com/facebook/docusaurus/pull/11176
|
|
201
204
|
concatenateModules: !isServer,
|
|
202
|
-
// The
|
|
205
|
+
// The optimization.mergeDuplicateChunks is expensive
|
|
203
206
|
// - On the server, it's not useful to run it at all
|
|
204
207
|
// - On the client, we compared assets/js before/after and see 0 change
|
|
205
208
|
// `du -sk js-before js-after` => the JS assets have the exact same size
|
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.7.0-canary-
|
|
4
|
+
"version": "3.7.0-canary-6313",
|
|
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.7.0-canary-
|
|
37
|
-
"@docusaurus/bundler": "3.7.0-canary-
|
|
38
|
-
"@docusaurus/logger": "3.7.0-canary-
|
|
39
|
-
"@docusaurus/mdx-loader": "3.7.0-canary-
|
|
40
|
-
"@docusaurus/utils": "3.7.0-canary-
|
|
41
|
-
"@docusaurus/utils-common": "3.7.0-canary-
|
|
42
|
-
"@docusaurus/utils-validation": "3.7.0-canary-
|
|
36
|
+
"@docusaurus/babel": "3.7.0-canary-6313",
|
|
37
|
+
"@docusaurus/bundler": "3.7.0-canary-6313",
|
|
38
|
+
"@docusaurus/logger": "3.7.0-canary-6313",
|
|
39
|
+
"@docusaurus/mdx-loader": "3.7.0-canary-6313",
|
|
40
|
+
"@docusaurus/utils": "3.7.0-canary-6313",
|
|
41
|
+
"@docusaurus/utils-common": "3.7.0-canary-6313",
|
|
42
|
+
"@docusaurus/utils-validation": "3.7.0-canary-6313",
|
|
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.7.0-canary-
|
|
81
|
-
"@docusaurus/types": "3.7.0-canary-
|
|
80
|
+
"@docusaurus/module-type-aliases": "3.7.0-canary-6313",
|
|
81
|
+
"@docusaurus/types": "3.7.0-canary-6313",
|
|
82
82
|
"@total-typescript/shoehorn": "^0.1.2",
|
|
83
83
|
"@types/detect-port": "^1.3.3",
|
|
84
84
|
"@types/react-dom": "^18.2.7",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"engines": {
|
|
99
99
|
"node": ">=18.0"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "9e3b01a35981d62fc38c796b6e358d488c8fe5fe"
|
|
102
102
|
}
|