Thanks to visit codestin.com Credit goes to github.com
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 ade5cea commit f57c84aCopy full SHA for f57c84a
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: module.paths.concat(process.cwd())
+ paths: global.module.paths.concat(process.cwd())
15
})
16
}
17
},
0 commit comments