Skip to content

Commit 9fe164b

Browse files
JPeer264isaacs
andauthored
Update dev-packages/bun-integration-tests/node-suites/alias-sentry-bun.ts
Co-authored-by: isaacs <i@izs.me>
1 parent 2c9474d commit 9fe164b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎dev-packages/bun-integration-tests/node-suites/alias-sentry-bun.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const NODE_SUITE_FILE = /[\\/]node-integration-tests[\\/](suites|utils)[\\/]/;
77

88
// Bun's runtime `onResolve` does not see bare package specifiers, so ES modules are rewritten on
99
// load. `onLoad` output for a CommonJS file does not run, so those files keep their source.
10-
const NODE_SUITE_ESM_FILE = /[\\/]node-integration-tests[\\/](suites|utils)[\\/].*\.(mjs|ts)$/;
10+
const NODE_SUITE_ESM_FILE = /[\\/]node-integration-tests[\\/](suites|utils)[\\/](?!\bnode_modules\b).*\.(mjs|ts)$/;
1111
const SENTRY_NODE_SPECIFIER = /(['"])@sentry\/node\1/g;
1212

1313
plugin({

0 commit comments

Comments
 (0)