Skip to content

Commit 0c4d9fe

Browse files
author
Ives van Hoorne
committed
Fix module resolving for dependencies with node imports
1 parent 962bac5 commit 0c4d9fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/sandbox/eval/manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ export default class Manager {
479479

480480
let resolvedPath;
481481

482-
if (cachedPath) {
482+
if (cachedPath && this.transpiledModules[cachedPath]) {
483483
resolvedPath = cachedPath;
484484
} else {
485485
const presetAliasedPath = this.getPresetAliasedPath(path);

0 commit comments

Comments
 (0)