@nx/esbuild 23.3.0-beta.1 → 23.3.0-beta.2
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.
|
@@ -205,7 +205,10 @@ function getOutExtension(format, options, context) {
|
|
|
205
205
|
}
|
|
206
206
|
function getOutfile(format, options, context) {
|
|
207
207
|
const ext = getOutExtension(format, options, context);
|
|
208
|
-
|
|
208
|
+
// Use the normalized options rather than `context.target.options`, which
|
|
209
|
+
// holds the static value from the project configuration and misses any
|
|
210
|
+
// override, e.g. `--output-path` on the command line.
|
|
211
|
+
const candidate = (0, devkit_1.joinPathFragments)(options.outputPath, options.outputFileName);
|
|
209
212
|
const { dir, name } = path.parse(candidate);
|
|
210
213
|
return `${dir}/${name}${ext}`;
|
|
211
214
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/esbuild",
|
|
3
|
-
"version": "23.3.0-beta.
|
|
3
|
+
"version": "23.3.0-beta.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for esbuild contains executors and generators that support building applications using esbuild",
|
|
6
6
|
"repository": {
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"picocolors": "^1.1.0",
|
|
45
45
|
"tsconfig-paths": "^4.1.2",
|
|
46
46
|
"tslib": "^2.3.0",
|
|
47
|
-
"@nx/devkit": "23.3.0-beta.
|
|
48
|
-
"@nx/js": "23.3.0-beta.
|
|
47
|
+
"@nx/devkit": "23.3.0-beta.2",
|
|
48
|
+
"@nx/js": "23.3.0-beta.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"nx": "23.3.0-beta.
|
|
51
|
+
"nx": "23.3.0-beta.2"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"esbuild": ">=0.19.2 <1.0.0"
|