Skip to content

Commit 66f43e1

Browse files
authored
feat: merge-train/avm (#18150)
BEGIN_COMMIT_OVERRIDE fix(avm): sim fuzzer build (#18137) END_COMMIT_OVERRIDE
2 parents 042c02e + e498c37 commit 66f43e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

yarn-project/simulator/scripts/fuzzing/avm_simulator_bin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ const INSTRUMENTER = createInstrumenter({ compact: true });
55

66
hookRequire(
77
(filePath: string): boolean => {
8-
return true;
8+
// Don't instrument node_modules because there's something funky with babel + browserlists dependencies
9+
return !filePath.includes('node_modules');
910
},
1011
(code: string, { filename }: { filename: string }): string => {
1112
const newCode = INSTRUMENTER.instrumentSync(code, filename);

0 commit comments

Comments
 (0)