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 25d3fed commit 396262dCopy full SHA for 396262d
packages/app/src/sandbox/eval/manager.js
@@ -373,7 +373,7 @@ export default class Manager {
373
this.cachedPaths[pathId] = resolvedPath;
374
}
375
376
- if (NODE_LIBS.includes(shimmedPath)) {
+ if (NODE_LIBS.includes(shimmedPath) || resolvedPath === '//empty.js') {
377
return {
378
path: pathUtils.join('/node_modules', resolvedPath),
379
code: `// empty`,
0 commit comments