@nx/rsbuild 23.0.0-beta.15 → 23.0.0-beta.17
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 +4 -4
- package/src/plugins/plugin.js +4 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/rsbuild",
|
|
3
3
|
"description": "The Nx Plugin for Rsbuild contains an Nx plugin, executors and utilities that support building applications using Rsbuild.",
|
|
4
|
-
"version": "23.0.0-beta.
|
|
4
|
+
"version": "23.0.0-beta.17",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"executors": "./executors.json",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"tslib": "^2.3.0",
|
|
33
|
-
"@nx/devkit": "23.0.0-beta.
|
|
34
|
-
"@nx/js": "23.0.0-beta.
|
|
33
|
+
"@nx/devkit": "23.0.0-beta.17",
|
|
34
|
+
"@nx/js": "23.0.0-beta.17",
|
|
35
35
|
"minimatch": "10.2.5",
|
|
36
36
|
"semver": "^7.6.3",
|
|
37
37
|
"@phenomnomnominal/tsquery": "~6.2.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"nx": "23.0.0-beta.
|
|
40
|
+
"nx": "23.0.0-beta.17"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@rsbuild/core": "^1.0.0"
|
package/src/plugins/plugin.js
CHANGED
|
@@ -159,9 +159,10 @@ async function createRsbuildTargets(configFilePath, projectRoot, options, tsConf
|
|
|
159
159
|
return { targets, metadata: {} };
|
|
160
160
|
}
|
|
161
161
|
function getOutputs(rsbuildConfig, projectRoot, workspaceRoot) {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
// `output.distPath.root` is the directory Rsbuild emits the build into, so
|
|
163
|
+
// it is the build output as-is. (Don't take its `dirname` - that points at
|
|
164
|
+
// the parent directory, which can capture sibling projects' outputs.)
|
|
165
|
+
const buildOutputPath = normalizeOutputPath(rsbuildConfig?.output?.distPath?.root, projectRoot, workspaceRoot, 'dist');
|
|
165
166
|
return {
|
|
166
167
|
buildOutputs: [buildOutputPath],
|
|
167
168
|
};
|