Skip to content

Commit

Permalink
Add a note about sourcemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
yoannmoinet committed Oct 11, 2024
1 parent fb8520b commit b2402c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/plugins/injection/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export const getInjectionPlugins = (

// Using JSON.stringify to keep escaped backslashes (windows).
// Using ['default'.toString()] to bypass esbuild's import-is-undefined warning.
// NOTE: Keep an eye on this sourcemaps issue https://github.com/getsentry/sentry-javascript-bundler-plugins/issues/575
const contents = `
import ${JSON.stringify(INJECTED_FILE)};
import * as OriginalModule from ${JSON.stringify(originalPath)};
Expand Down

0 comments on commit b2402c9

Please sign in to comment.