@nx/rspack 22.6.0-beta.1 → 22.6.0-beta.3
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
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": "22.6.0-beta.
|
|
4
|
+
"version": "22.6.0-beta.3",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"generators": "./generators.json",
|
|
25
25
|
"executors": "./executors.json",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nx/devkit": "22.6.0-beta.
|
|
28
|
-
"@nx/js": "22.6.0-beta.
|
|
29
|
-
"@nx/module-federation": "22.6.0-beta.
|
|
30
|
-
"@nx/web": "22.6.0-beta.
|
|
27
|
+
"@nx/devkit": "22.6.0-beta.3",
|
|
28
|
+
"@nx/js": "22.6.0-beta.3",
|
|
29
|
+
"@nx/module-federation": "22.6.0-beta.3",
|
|
30
|
+
"@nx/web": "22.6.0-beta.3",
|
|
31
31
|
"@phenomnomnominal/tsquery": "~6.1.4",
|
|
32
32
|
"@rspack/core": "1.6.8",
|
|
33
33
|
"@rspack/dev-server": "^1.1.4",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"webpack-node-externals": "^3.0.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"nx": "22.6.0-beta.
|
|
61
|
-
"@nx/nest": "22.6.0-beta.
|
|
60
|
+
"nx": "22.6.0-beta.3",
|
|
61
|
+
"@nx/nest": "22.6.0-beta.3"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@module-federation/enhanced": "^0.21.2",
|
|
@@ -354,6 +354,6 @@ function getClientEnvironment(mode) {
|
|
|
354
354
|
},
|
|
355
355
|
// Provide a fallback for process.env itself to handle cases where code
|
|
356
356
|
// accesses process.env directly (e.g., in Cypress component testing)
|
|
357
|
-
{ 'process.env': '{}' });
|
|
357
|
+
{ 'process.env': '({})' });
|
|
358
358
|
return { stringified };
|
|
359
359
|
}
|
package/src/utils/with-web.js
CHANGED
|
@@ -39,6 +39,6 @@ function getClientEnvironment(mode) {
|
|
|
39
39
|
},
|
|
40
40
|
// Provide a fallback for process.env itself to handle cases where code
|
|
41
41
|
// accesses process.env directly (e.g., in Cypress component testing)
|
|
42
|
-
{ 'process.env': '{}' });
|
|
42
|
+
{ 'process.env': '({})' });
|
|
43
43
|
return { stringified };
|
|
44
44
|
}
|