mirror of
https://github.com/mue/mue.git
synced 2026-07-24 09:17:24 +02:00
fix: noscript message css, remove woff from build
This commit is contained in:
@@ -8,8 +8,6 @@ import './scss/index.scss';
|
||||
// the toast css is based on default so we need to import it
|
||||
import 'react-toastify/dist/ReactToastify.min.css';
|
||||
|
||||
import '@fontsource/lexend-deca/400.css';
|
||||
|
||||
// this is opt-in btw, allows you to see your stats etc
|
||||
import Stats from './modules/helpers/stats';
|
||||
|
||||
@@ -25,11 +23,6 @@ if (languagecode === 'en') {
|
||||
window.languagecode = 'en_GB';
|
||||
}
|
||||
|
||||
// only load font if needed
|
||||
if (languagecode === 'ru') {
|
||||
require('@fontsource/montserrat/cyrillic-500.css');
|
||||
}
|
||||
|
||||
// these are merged so if a string is untranslated it doesn't break mue
|
||||
window.language = merge(require('./translations/en_GB.json'), require(`./translations/${window.languagecode}.json`));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user