@nx/esbuild 19.0.1 → 19.0.3
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/esbuild",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.3",
|
|
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": {
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"fs-extra": "^11.1.0",
|
|
35
35
|
"tslib": "^2.3.0",
|
|
36
36
|
"tsconfig-paths": "^4.1.2",
|
|
37
|
-
"@nx/devkit": "19.0.
|
|
38
|
-
"@nx/js": "19.0.
|
|
39
|
-
"@nrwl/esbuild": "19.0.
|
|
37
|
+
"@nx/devkit": "19.0.3",
|
|
38
|
+
"@nx/js": "19.0.3",
|
|
39
|
+
"@nrwl/esbuild": "19.0.3"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"esbuild": "~0.19.2"
|
|
@@ -189,7 +189,7 @@ Module._resolveFilename = function(request, parent) {
|
|
|
189
189
|
const match = request.match(re);
|
|
190
190
|
|
|
191
191
|
if (match?.groups) {
|
|
192
|
-
const candidate = path.join(distPath, entry.pattern.replace("*", ""), match.groups.rest
|
|
192
|
+
const candidate = path.join(distPath, entry.pattern.replace("*", ""), match.groups.rest);
|
|
193
193
|
if (isFile(candidate)) {
|
|
194
194
|
found = candidate;
|
|
195
195
|
}
|
|
@@ -207,7 +207,8 @@ Module._resolveFilename = function(request, parent) {
|
|
|
207
207
|
|
|
208
208
|
function isFile(s) {
|
|
209
209
|
try {
|
|
210
|
-
|
|
210
|
+
require.resolve(s);
|
|
211
|
+
return true;
|
|
211
212
|
} catch (_e) {
|
|
212
213
|
return false;
|
|
213
214
|
}
|