We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b616178 commit 2923e50Copy full SHA for 2923e50
dist/index.js
@@ -2896,7 +2896,7 @@ module.exports = require("assert");
2896
const wrapRequire = new Proxy(require, {
2897
apply: (target, thisArg, [moduleID]) => {
2898
if (moduleID.startsWith('.')) {
2899
- moduleID = path__WEBPACK_IMPORTED_MODULE_0__.join(process.cwd(), moduleID);
+ moduleID = path__WEBPACK_IMPORTED_MODULE_0__.resolve(moduleID);
2900
return target.apply(thisArg, [moduleID]);
2901
}
2902
try {
0 commit comments