@nx/rspack 23.3.0-beta.3 → 23.3.0-beta.5

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.
@@ -164,6 +164,10 @@ function applyNxIndependentConfig(options, config, rspackCore) {
164
164
  // this needs to be false to allow toplevel variables to be used in the global scope
165
165
  // important especially for module-federation which operates as such
166
166
  module: false,
167
+ // Keeps SWC from hoisting a callback passed in a class field
168
+ // initializer into one binding shared by all instances:
169
+ // https://github.com/swc-project/swc/issues/12380
170
+ compress: { inline: 0, reduce_funcs: false },
167
171
  mangle: {
168
172
  keep_classnames: true,
169
173
  },
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.3.0-beta.3",
4
+ "version": "23.3.0-beta.5",
5
5
  "type": "commonjs",
6
6
  "files": [
7
7
  "dist",
@@ -127,6 +127,10 @@
127
127
  }
128
128
  },
129
129
  "dependencies": {
130
+ "@nx/devkit": "23.3.0-beta.5",
131
+ "@nx/js": "23.3.0-beta.5",
132
+ "@nx/module-federation": "23.3.0-beta.5",
133
+ "@nx/web": "23.3.0-beta.5",
130
134
  "@phenomnomnominal/tsquery": "~6.2.0",
131
135
  "autoprefixer": "^10.4.9",
132
136
  "browserslist": "^4.26.0",
@@ -150,15 +154,11 @@
150
154
  "ts-checker-rspack-plugin": "^1.3.0",
151
155
  "tslib": "^2.3.0",
152
156
  "webpack": "5.105.2",
153
- "webpack-node-externals": "^3.0.0",
154
- "@nx/devkit": "23.3.0-beta.3",
155
- "@nx/js": "23.3.0-beta.3",
156
- "@nx/web": "23.3.0-beta.3",
157
- "@nx/module-federation": "23.3.0-beta.3"
157
+ "webpack-node-externals": "^3.0.0"
158
158
  },
159
159
  "devDependencies": {
160
- "nx": "23.3.0-beta.3",
161
- "@nx/nest": "23.3.0-beta.3"
160
+ "nx": "23.3.0-beta.5",
161
+ "@nx/nest": "23.3.0-beta.5"
162
162
  },
163
163
  "peerDependencies": {
164
164
  "@rspack/cli": "^1.0.0 || ^2.0.0",
@@ -0,0 +1,18 @@
1
+ <p style="text-align: center;">
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
4
+ <img alt="Nx - Smart Monorepos · Fast Builds" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
5
+ </picture>
6
+ </p>
7
+
8
+ {{links}}
9
+
10
+ <hr>
11
+
12
+ # Nx: Smart Monorepos · Fast Builds
13
+
14
+ Get to green PRs in half the time. Nx optimizes your builds, scales your CI, and fixes failed PRs. Built for developers and AI agents.
15
+
16
+ This package is a [Rspack plugin for Nx](https://nx.dev/nx-api/rspack).
17
+
18
+ {{content}}