fix(dashboard): set up replaceAll polyfill correctly
This commit is contained in:
parent
e0c4b23f5e
commit
7e606ca8b2
@ -2,7 +2,7 @@ import * as Sentry from "@sentry/browser";
|
|||||||
import { Integrations } from "@sentry/tracing";
|
import { Integrations } from "@sentry/tracing";
|
||||||
|
|
||||||
// polyfill for replaceAll
|
// polyfill for replaceAll
|
||||||
import * as replaceAll from 'core-js-pure/es/string/virtual/replace-all.js';
|
import replaceAll from 'core-js-pure/es/string/virtual/replace-all.js';
|
||||||
if (!String.prototype.replaceAll)
|
if (!String.prototype.replaceAll)
|
||||||
String.prototype.replaceAll = replaceAll;
|
String.prototype.replaceAll = replaceAll;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user