@yarnpkg/esbuild-plugin-pnp
Advanced tools
Comparing version 3.0.0-rc.9 to 3.0.0-rc.10
@@ -110,5 +110,7 @@ "use strict"; | ||
// The entry point resolution uses an empty string | ||
const effectiveImporter = args.importer | ||
? args.importer | ||
: `${baseDir}/`; | ||
const effectiveImporter = args.resolveDir | ||
? `${args.resolveDir}/` | ||
: args.importer | ||
? args.importer | ||
: `${baseDir}/`; | ||
const pnpApi = findPnpApi(effectiveImporter); | ||
@@ -115,0 +117,0 @@ if (!pnpApi) |
{ | ||
"name": "@yarnpkg/esbuild-plugin-pnp", | ||
"version": "3.0.0-rc.9", | ||
"version": "3.0.0-rc.10", | ||
"license": "BSD-2-Clause", | ||
@@ -13,3 +13,3 @@ "main": "./lib/index.js", | ||
"devDependencies": { | ||
"@yarnpkg/pnp": "^4.0.0-rc.9", | ||
"@yarnpkg/pnp": "^4.0.0-rc.10", | ||
"esbuild": "npm:esbuild-wasm@^0.11.20" | ||
@@ -16,0 +16,0 @@ }, |
9161
167