wikijs-fork/client/index-app.js

27 lines
770 B
JavaScript
Raw Permalink Normal View History

require('core-js/stable')
require('regenerator-runtime/runtime')
2017-03-27 02:07:40 +00:00
2020-04-24 21:40:41 +00:00
/* global siteConfig */
/* eslint-disable no-unused-expressions */
switch (window.document.documentElement.lang) {
case 'ar':
case 'fa':
2020-04-24 21:40:41 +00:00
import(/* webpackChunkName: "fonts-arabic" */ './scss/fonts/arabic.scss')
break
default:
2020-04-24 21:40:41 +00:00
import(/* webpackChunkName: "fonts-default" */ './scss/fonts/default.scss')
break
}
require('modernizr')
2017-09-10 05:41:22 +00:00
require('./scss/app.scss')
2020-04-24 21:40:41 +00:00
import(/* webpackChunkName: "theme" */ './themes/' + siteConfig.theme + '/scss/app.scss')
2020-04-24 21:40:41 +00:00
import(/* webpackChunkName: "mdi" */ '@mdi/font/css/materialdesignicons.css')
2019-07-29 04:50:03 +00:00
require('./helpers/compatibility.js')
require('./client-app.js')
2020-04-24 21:40:41 +00:00
import(/* webpackChunkName: "theme" */ './themes/' + siteConfig.theme + '/js/app.js')