@yarnpkg/esbuild-plugin-pnp
Advanced tools
Comparing version 3.0.0-rc.10 to 3.0.0-rc.11
@@ -6,2 +6,3 @@ "use strict"; | ||
const fs = tslib_1.__importStar(require("fs")); | ||
const path_1 = tslib_1.__importDefault(require("path")); | ||
const matchAll = /()/; | ||
@@ -50,2 +51,8 @@ const defaultExtensions = [`.tsx`, `.ts`, `.jsx`, `.mjs`, `.cjs`, `.js`, `.css`, `.json`]; | ||
loader: `default`, | ||
// For regular imports in the `file` namespace, resolveDir is the directory the | ||
// file being resolved lives in. For all other virtual modules, this defaults to | ||
// empty string: "" | ||
// A sensible value for pnp imports is the same as the `file` namespace, as pnp | ||
// still resolves to files on disk (in the cache). | ||
resolveDir: path_1.default.dirname(args.path), | ||
}; | ||
@@ -52,0 +59,0 @@ } |
{ | ||
"name": "@yarnpkg/esbuild-plugin-pnp", | ||
"version": "3.0.0-rc.10", | ||
"version": "3.0.0-rc.11", | ||
"license": "BSD-2-Clause", | ||
@@ -13,3 +13,3 @@ "main": "./lib/index.js", | ||
"devDependencies": { | ||
"@yarnpkg/pnp": "^4.0.0-rc.10", | ||
"@yarnpkg/pnp": "^4.0.0-rc.11", | ||
"esbuild": "npm:esbuild-wasm@^0.11.20" | ||
@@ -16,0 +16,0 @@ }, |
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
9625
174