parent
d348c458b3
commit
42dac0720f
1 changed files with 1 additions and 5 deletions
|
@ -4,16 +4,12 @@ import './cloak-mode.css';
|
||||||
|
|
||||||
// Polyfill needed for Firefox < 122
|
// Polyfill needed for Firefox < 122
|
||||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1423593
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=1423593
|
||||||
import { shouldPolyfill } from '@formatjs/intl-segmenter/should-polyfill';
|
import '@formatjs/intl-segmenter/polyfill';
|
||||||
import { render } from 'preact';
|
import { render } from 'preact';
|
||||||
import { HashRouter } from 'react-router-dom';
|
import { HashRouter } from 'react-router-dom';
|
||||||
|
|
||||||
import { App } from './app';
|
import { App } from './app';
|
||||||
|
|
||||||
if (shouldPolyfill()) {
|
|
||||||
import('@formatjs/intl-segmenter/polyfill-force');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (import.meta.env.DEV) {
|
if (import.meta.env.DEV) {
|
||||||
import('preact/debug');
|
import('preact/debug');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue