phantasmal-world/src/index.ts

15 lines
488 B
TypeScript
Raw Normal View History

import "./core/gui/index.css";
import Logger from "js-logger";
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";
import { initialize } from "./initialize";
import { FetchClient } from "./core/HttpClient";
2019-08-20 04:56:40 +08:00
Logger.useDefaults({
defaultLevel: (Logger as any)[process.env["LOG_LEVEL"] ?? "OFF"],
});
initialize(new FetchClient());