@esbuild-plugins/node-resolve
Advanced tools
Comparing version 0.1.3 to 0.1.4
# @esbuild-plugins/node-resolve | ||
## 0.1.4 | ||
### Patch Changes | ||
- Fix error in yarn pnp | ||
## 0.1.3 | ||
@@ -4,0 +10,0 @@ |
@@ -64,3 +64,3 @@ "use strict"; | ||
// resolve virtual workspaces to real path | ||
if (pnpapi && res && !res.incudes('node_modules')) { | ||
if (pnpapi && res && !res.includes('node_modules')) { | ||
try { | ||
@@ -149,3 +149,3 @@ const realPath = pnpapi.resolveVirtual(res); | ||
resolved && | ||
!resolved.incudes('node_modules')) { | ||
!resolved.includes('node_modules')) { | ||
try { | ||
@@ -152,0 +152,0 @@ const realPath = pnpapi.resolveVirtual(resolved); |
{ | ||
"name": "@esbuild-plugins/node-resolve", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -49,4 +49,5 @@ import { OnResolveArgs, OnResolveResult, Plugin } from 'esbuild' | ||
const res = await promisifiedResolve(id, opts) | ||
// resolve virtual workspaces to real path | ||
if (pnpapi && res && !res.incudes('node_modules')) { | ||
if (pnpapi && res && !res.includes('node_modules')) { | ||
try { | ||
@@ -179,3 +180,3 @@ const realPath = pnpapi.resolveVirtual(res) | ||
resolved && | ||
!resolved.incudes('node_modules') | ||
!resolved.includes('node_modules') | ||
) { | ||
@@ -182,0 +183,0 @@ try { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58725