Skip to content

Commit 1bc18db

Browse files
committed
ignore sentry stub
1 parent b6e6417 commit 1bc18db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/cli-v3/src/build/externals.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,11 @@ function createExternalsCollector(
279279
return;
280280
}
281281

282+
if (args.path === "_sentry-debug-id-injection-stub") {
283+
// Ignore sentry stub
284+
return;
285+
}
286+
282287
// Try to resolve the actual file path
283288
const [resolveError, resolvedPath] = await tryCatch(
284289
resolveModule(args.path, args.resolveDir)

0 commit comments

Comments
 (0)