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.
2 parents 042c02e + e498c37 commit 66f43e1Copy full SHA for 66f43e1
yarn-project/simulator/scripts/fuzzing/avm_simulator_bin.ts
@@ -5,7 +5,8 @@ const INSTRUMENTER = createInstrumenter({ compact: true });
5
6
hookRequire(
7
(filePath: string): boolean => {
8
- return true;
+ // Don't instrument node_modules because there's something funky with babel + browserlists dependencies
9
+ return !filePath.includes('node_modules');
10
},
11
(code: string, { filename }: { filename: string }): string => {
12
const newCode = INSTRUMENTER.instrumentSync(code, filename);
0 commit comments