We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 684a5cc commit f9b1745Copy full SHA for f9b1745
src/sandbox/eval/manager.js
@@ -295,7 +295,7 @@ export default class Manager {
295
this.cachedPaths[pathId] = resolvedPath;
296
}
297
298
- if (NODE_LIBS.includes(resolvedPath)) {
+ if (NODE_LIBS.includes(shimmedPath)) {
299
return {
300
path: pathUtils.join('/node_modules', resolvedPath),
301
code: `// empty`,
0 commit comments