sentry-javascript-bundler-plugins
sentry-javascript-bundler-plugins copied to clipboard
feat(core): Use `globalThis` for code injection
Since all our supported platforms now support globalThis, from v8 of the JavaScript SDK we now use this to read globals and I recently changed this for the nextjs SDK code injection. We can also do this for the bundler plugins since this saves ~90 bytes from each injected code snippet.