mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-25 01:08:50 +01:00
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
|
||||
// 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 { HashRouter } from 'react-router-dom';
|
||||
|
||||
import { App } from './app';
|
||||
|
||||
if (shouldPolyfill()) {
|
||||
import('@formatjs/intl-segmenter/polyfill-force');
|
||||
}
|
||||
|
||||
if (import.meta.env.DEV) {
|
||||
import('preact/debug');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue