@nx/rspack 23.3.0-beta.7 → 23.3.0-beta.9

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/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](<>)
13
13
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
14
14
  [![Join us on the Official Nx Discord Server](https://img.shields.io/discord/1143497901675401286?label=discord)](https://go.nx.dev/community)
15
- [![Nx Sandboxing](https://staging.nx.app/workspaces/62d013ea0852fe0a2df74438/sandbox-badge.svg)](https://nx.dev/docs/features/ci-features/sandboxing)
15
+ [![Hours saved](https://img.shields.io/endpoint?url=https%3A%2F%2Fstaging.nx.app%2Fnx-cloud%2Fbadge%2F62d013ea0852fe0a2df74438%2Fhours-saved.json)](https://nx.dev/nx-cloud)
16
16
 
17
17
  </div>
18
18
 
@@ -204,14 +204,14 @@ function normalizeOutputPath(outputPath, projectRoot) {
204
204
  * If outputPath is absolute, we need to resolve it relative to the workspaceRoot first.
205
205
  * After that, we can use the relative path to the workspaceRoot token {workspaceRoot} to generate the output path.
206
206
  */
207
- return `{workspaceRoot}/${(0, path_1.relative)(devkit_1.workspaceRoot, (0, path_1.resolve)(devkit_1.workspaceRoot, outputPath))}`;
207
+ return `{workspaceRoot}/${(0, devkit_1.normalizePath)((0, path_1.relative)(devkit_1.workspaceRoot, (0, path_1.resolve)(devkit_1.workspaceRoot, outputPath)))}`;
208
208
  }
209
209
  else {
210
210
  if (outputPath.startsWith('..')) {
211
- return (0, path_1.join)('{workspaceRoot}', (0, path_1.join)(projectRoot, outputPath));
211
+ return (0, devkit_1.joinPathFragments)('{workspaceRoot}', projectRoot, outputPath);
212
212
  }
213
213
  else {
214
- return (0, path_1.join)('{projectRoot}', outputPath);
214
+ return (0, devkit_1.joinPathFragments)('{projectRoot}', outputPath);
215
215
  }
216
216
  }
217
217
  }
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.7",
4
+ "version": "23.3.0-beta.9",
5
5
  "type": "commonjs",
6
6
  "files": [
7
7
  "dist",
@@ -127,10 +127,10 @@
127
127
  }
128
128
  },
129
129
  "dependencies": {
130
- "@nx/devkit": "23.3.0-beta.7",
131
- "@nx/js": "23.3.0-beta.7",
132
- "@nx/module-federation": "23.3.0-beta.7",
133
- "@nx/web": "23.3.0-beta.7",
130
+ "@nx/devkit": "23.3.0-beta.9",
131
+ "@nx/js": "23.3.0-beta.9",
132
+ "@nx/module-federation": "23.3.0-beta.9",
133
+ "@nx/web": "23.3.0-beta.9",
134
134
  "@phenomnomnominal/tsquery": "~6.2.0",
135
135
  "autoprefixer": "^10.4.9",
136
136
  "browserslist": "^4.26.0",
@@ -157,8 +157,8 @@
157
157
  "webpack-node-externals": "^3.0.0"
158
158
  },
159
159
  "devDependencies": {
160
- "nx": "23.3.0-beta.7",
161
- "@nx/nest": "23.3.0-beta.7",
160
+ "nx": "23.3.0-beta.9",
161
+ "@nx/nest": "23.3.0-beta.9",
162
162
  "@rspack/cli": "^2.0.4"
163
163
  },
164
164
  "peerDependencies": {