@nx/rspack 22.3.0-canary.20251216-71bfc21 → 22.3.0-canary.20251217-6323dba

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.3.0-canary.20251216-71bfc21",
4
+ "version": "22.3.0-canary.20251217-6323dba",
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.3.0-canary.20251216-71bfc21",
28
- "@nx/js": "22.3.0-canary.20251216-71bfc21",
29
- "@nx/module-federation": "22.3.0-canary.20251216-71bfc21",
30
- "@nx/web": "22.3.0-canary.20251216-71bfc21",
27
+ "@nx/devkit": "22.3.0-canary.20251217-6323dba",
28
+ "@nx/js": "22.3.0-canary.20251217-6323dba",
29
+ "@nx/module-federation": "22.3.0-canary.20251217-6323dba",
30
+ "@nx/web": "22.3.0-canary.20251217-6323dba",
31
31
  "@phenomnomnominal/tsquery": "~5.0.1",
32
32
  "@rspack/core": "^1.5.2",
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.3.0-canary.20251216-71bfc21",
61
- "@nx/nest": "22.3.0-canary.20251216-71bfc21"
60
+ "nx": "22.3.0-canary.20251217-6323dba",
61
+ "@nx/nest": "22.3.0-canary.20251217-6323dba"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@module-federation/enhanced": "^0.21.2",
@@ -59,11 +59,11 @@ function applyNxIndependentConfig(options, config) {
59
59
  //
60
60
  // When the NODE_ENV is something else (e.g. test), then set it to none
61
61
  // to prevent extra behavior from rspack.
62
- options.mode ??
62
+ (options.mode ??
63
63
  (process.env.NODE_ENV === 'development' ||
64
64
  process.env.NODE_ENV === 'production'
65
65
  ? process.env.NODE_ENV
66
- : 'none');
66
+ : 'none'));
67
67
  // When target is Node, the Webpack mode will be set to 'none' which disables in memory caching and causes a full rebuild on every change.
68
68
  // So to mitigate this we enable in memory caching when target is Node and in watch mode.
69
69
  config.cache =
@@ -157,7 +157,7 @@ function applyNxIndependentConfig(options, config) {
157
157
  ],
158
158
  concatenateModules: true,
159
159
  runtimeChunk: isDevServer
160
- ? config.optimization?.runtimeChunk ?? undefined
160
+ ? (config.optimization?.runtimeChunk ?? undefined)
161
161
  : false,
162
162
  }
163
163
  : {}),
@@ -1 +1 @@
1
- {"version":3,"file":"rspack-nx-build-coordination-plugin.d.ts","sourceRoot":"","sources":["../../../../../../../packages/rspack/src/plugins/utils/plugins/rspack-nx-build-coordination-plugin.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAK7C,qBAAa,+BAA+B;IAI9B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAHrC,OAAO,CAAC,gBAAgB,CAAgD;IACxE,OAAO,CAAC,eAAe,CAAwC;gBAElC,QAAQ,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO;IAczE,KAAK,CAAC,QAAQ,EAAE,QAAQ;IAelB,0BAA0B;IAQ1B,oBAAoB;IA0B1B,OAAO,CAAC,iBAAiB;CA2B1B"}
1
+ {"version":3,"file":"rspack-nx-build-coordination-plugin.d.ts","sourceRoot":"","sources":["../../../../../../../packages/rspack/src/plugins/utils/plugins/rspack-nx-build-coordination-plugin.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAK7C,qBAAa,+BAA+B;IAKxC,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAJ3B,OAAO,CAAC,gBAAgB,CAAgD;IACxE,OAAO,CAAC,eAAe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