fix: noscript message css, remove woff from build

This commit is contained in:
David Ralph
2021-07-11 15:08:35 +01:00
parent 70fc204e70
commit 401baa6653
3 changed files with 29 additions and 13 deletions

View File

@@ -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`));