We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f8fc98 commit d37f92fCopy full SHA for d37f92f
src/wrap-require.ts
@@ -11,7 +11,7 @@ export const wrapRequire = new Proxy(__non_webpack_require__, {
11
return target.apply(thisArg, [moduleID])
12
} catch (err) {
13
return target.resolve(moduleID, {
14
- paths: global.module.paths.concat(process.cwd())
+ paths: eval('module').paths.concat(process.cwd())
15
})
16
}
17
},
0 commit comments