@nx/rspack 23.2.0 → 23.3.0-beta.0
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.
|
@@ -402,7 +402,15 @@ function applyNxDependentConfig(options, config, { useNormalizedEntry } = {}, rs
|
|
|
402
402
|
};
|
|
403
403
|
config.externals = externals;
|
|
404
404
|
// Enabled for performance
|
|
405
|
-
|
|
405
|
+
const cache = 'cache' in options ? options.cache : true;
|
|
406
|
+
// compiler.options is already normalized when NxAppRspackPlugin runs, and
|
|
407
|
+
// @rspack/core >= 2.1 rejects the public `cache` shape after normalization.
|
|
408
|
+
config.cache = useNormalizedEntry
|
|
409
|
+
? rspackCore.config.getNormalizedRspackOptions({
|
|
410
|
+
context: config.context,
|
|
411
|
+
cache,
|
|
412
|
+
}).cache
|
|
413
|
+
: cache;
|
|
406
414
|
config.module = {
|
|
407
415
|
...config.module,
|
|
408
416
|
rules: [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/rspack",
|
|
3
3
|
"description": "The Nx Plugin for Rspack contains executors and generators that support building applications using Rspack.",
|
|
4
|
-
"version": "23.
|
|
4
|
+
"version": "23.3.0-beta.0",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -151,14 +151,14 @@
|
|
|
151
151
|
"tslib": "^2.3.0",
|
|
152
152
|
"webpack": "5.105.2",
|
|
153
153
|
"webpack-node-externals": "^3.0.0",
|
|
154
|
-
"@nx/
|
|
155
|
-
"@nx/
|
|
156
|
-
"@nx/module-federation": "23.
|
|
157
|
-
"@nx/web": "23.
|
|
154
|
+
"@nx/js": "23.3.0-beta.0",
|
|
155
|
+
"@nx/devkit": "23.3.0-beta.0",
|
|
156
|
+
"@nx/module-federation": "23.3.0-beta.0",
|
|
157
|
+
"@nx/web": "23.3.0-beta.0"
|
|
158
158
|
},
|
|
159
159
|
"devDependencies": {
|
|
160
|
-
"
|
|
161
|
-
"nx": "23.
|
|
160
|
+
"nx": "23.3.0-beta.0",
|
|
161
|
+
"@nx/nest": "23.3.0-beta.0"
|
|
162
162
|
},
|
|
163
163
|
"peerDependencies": {
|
|
164
164
|
"@rspack/cli": "^1.0.0 || ^2.0.0",
|