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 7e12bd7 commit b0e12e7Copy full SHA for b0e12e7
dist/index.js
@@ -2906,6 +2906,8 @@ const wrapRequire = new Proxy(require, {
2906
const modulePath = target.resolve.apply(thisArg, [
2907
moduleID,
2908
{
2909
+ // Webpack does not have an escape hatch for getting the actual
2910
+ // module, other than `eval`.
2911
paths: eval('module').paths.concat(process.cwd())
2912
}
2913
]);
src/wrap-require.ts
@@ -13,6 +13,8 @@ export const wrapRequire = new Proxy(__non_webpack_require__, {
13
14
15
16
17
18
19
20
])
0 commit comments