mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(dashboard): set up replaceAll polyfill correctly
This commit is contained in:
parent
e0c4b23f5e
commit
7e606ca8b2
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ import * as Sentry from "@sentry/browser";
|
|||
import { Integrations } from "@sentry/tracing";
|
||||
|
||||
// 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)
|
||||
String.prototype.replaceAll = replaceAll;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue