From 03276661a8fc355fac13a7957932cfc94038be7c Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Sat, 10 Jun 2023 09:54:13 +1000 Subject: [PATCH] Switch to not running esbuild on files imported from `node_modules`. --- code/lib/core-common/src/utils/interpret-require.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/core-common/src/utils/interpret-require.ts b/code/lib/core-common/src/utils/interpret-require.ts index 8ed1c200197f..12304652f602 100644 --- a/code/lib/core-common/src/utils/interpret-require.ts +++ b/code/lib/core-common/src/utils/interpret-require.ts @@ -13,7 +13,7 @@ export function interopRequireDefault(filePath: string) { register({ target: `node${process.version.slice(1)}`, format: 'cjs', - hookIgnoreNodeModules: false, + hookIgnoreNodeModules: true, tsconfigRaw: `{ "compilerOptions": { "strict": false,