2019-08-23 23:00:39 +08:00
|
|
|
import "./core/gui/index.css";
|
2019-08-21 23:56:46 +08:00
|
|
|
import Logger from "js-logger";
|
2019-08-30 00:24:03 +08:00
|
|
|
import "@fortawesome/fontawesome-free/js/fontawesome";
|
|
|
|
import "@fortawesome/fontawesome-free/js/solid";
|
|
|
|
import "@fortawesome/fontawesome-free/js/regular";
|
2019-09-14 03:20:26 +08:00
|
|
|
import "@fortawesome/fontawesome-free/js/brands";
|
2019-12-22 05:49:41 +08:00
|
|
|
import { initialize } from "./initialize";
|
|
|
|
import { FetchClient } from "./core/HttpClient";
|
2019-08-20 04:56:40 +08:00
|
|
|
|
2019-08-21 23:56:46 +08:00
|
|
|
Logger.useDefaults({
|
2019-12-22 02:40:42 +08:00
|
|
|
defaultLevel: (Logger as any)[process.env["LOG_LEVEL"] ?? "OFF"],
|
2019-08-21 23:56:46 +08:00
|
|
|
});
|
|
|
|
|
2019-12-22 05:49:41 +08:00
|
|
|
initialize(new FetchClient());
|