Add Webpack comment vis-a-vis eval
This commit is contained in:
Vendored
+2
@@ -2906,6 +2906,8 @@ const wrapRequire = new Proxy(require, {
|
||||
const modulePath = target.resolve.apply(thisArg, [
|
||||
moduleID,
|
||||
{
|
||||
// Webpack does not have an escape hatch for getting the actual
|
||||
// module, other than `eval`.
|
||||
paths: eval('module').paths.concat(process.cwd())
|
||||
}
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user