Replace nanocolors with picocolors

This commit is contained in:
The Arcane Brony
2021-12-25 11:09:48 +00:00
parent a9a92ff2cb
commit e042db33b6
10 changed files with 14 additions and 11 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import * as Api from "@fosscord/api";
import * as Gateway from "@fosscord/gateway";
import { CDNServer } from "@fosscord/cdn";
import express from "express";
import { green, bold } from "nanocolors";
import { green, bold, yellow } from "picocolors";
import { Config, initDatabase } from "@fosscord/util";
import * as Sentry from "@sentry/node";
import * as Tracing from "@sentry/tracing";
@@ -61,7 +61,7 @@ async function main() {
//Sentry
if (Config.get().sentry.enabled) {
console.log(
"[Bundle] You are using Sentry! This may slightly impact performance on large loads!"
`[Bundle] ${yellow("You are using Sentry! This may slightly impact performance on large loads!")}`
);
Sentry.init({
dsn: Config.get().sentry.endpoint,