@docusaurus/core 3.7.0-canary-6277 → 3.7.0-canary-6279

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.
Files changed (2) hide show
  1. package/lib/webpack/base.js +2 -4
  2. package/package.json +11 -11
@@ -135,9 +135,6 @@ 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?
139
- // See Rspack 1.3 bug https://github.com/web-infra-dev/rspack/issues/9834
140
- parallelCodeSplitting: false,
141
138
  ...PersistentCacheAttributes,
142
139
  };
143
140
  }
@@ -196,7 +193,8 @@ async function createBaseConfig({ props, isServer, minify, faster, configureWebp
196
193
  modules: ['node_modules', path_1.default.join(siteDir, 'node_modules')],
197
194
  },
198
195
  optimization: {
199
- removeAvailableModules: false,
196
+ // See https://github.com/web-infra-dev/rspack/issues/9834
197
+ removeAvailableModules: true,
200
198
  // Only minimize client bundle in production because server bundle is only
201
199
  // used for static site generation
202
200
  minimize: minimizeEnabled,
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-6277",
4
+ "version": "3.7.0-canary-6279",
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-6277",
37
- "@docusaurus/bundler": "3.7.0-canary-6277",
38
- "@docusaurus/logger": "3.7.0-canary-6277",
39
- "@docusaurus/mdx-loader": "3.7.0-canary-6277",
40
- "@docusaurus/utils": "3.7.0-canary-6277",
41
- "@docusaurus/utils-common": "3.7.0-canary-6277",
42
- "@docusaurus/utils-validation": "3.7.0-canary-6277",
36
+ "@docusaurus/babel": "3.7.0-canary-6279",
37
+ "@docusaurus/bundler": "3.7.0-canary-6279",
38
+ "@docusaurus/logger": "3.7.0-canary-6279",
39
+ "@docusaurus/mdx-loader": "3.7.0-canary-6279",
40
+ "@docusaurus/utils": "3.7.0-canary-6279",
41
+ "@docusaurus/utils-common": "3.7.0-canary-6279",
42
+ "@docusaurus/utils-validation": "3.7.0-canary-6279",
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-6277",
81
- "@docusaurus/types": "3.7.0-canary-6277",
80
+ "@docusaurus/module-type-aliases": "3.7.0-canary-6279",
81
+ "@docusaurus/types": "3.7.0-canary-6279",
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": "84edd798d1252ab16bd886f2ef042018ca59f0f8"
101
+ "gitHead": "b535ebf0aa58c5159cfd00671724fe9d266c91a4"
102
102
  }