feat: add sc minification + display class names

This commit is contained in:
Paul Makles
2022-01-14 18:50:58 +00:00
parent 8dd18c9fb4
commit 3fd56e4fdc
82 changed files with 523 additions and 110 deletions

View File

@@ -22,7 +22,7 @@ import {
import { observer } from "mobx-react-lite";
import { Route, Switch, useHistory } from "react-router-dom";
import { LIBRARY_VERSION } from "revolt.js";
import styled from "styled-components";
import styled from "styled-components/macro";
import styles from "./Settings.module.scss";
import { openContextMenu } from "preact-context-menu";

View File

@@ -1,6 +1,6 @@
import { observer } from "mobx-react-lite";
import { Channel } from "revolt.js/dist/maps/Channels";
import styled from "styled-components";
import styled from "styled-components/macro";
import { Text } from "preact-i18n";
import { useEffect, useState } from "preact/hooks";

View File

@@ -5,7 +5,7 @@ import { observer } from "mobx-react-lite";
import { Bot } from "revolt-api/types/Bots";
import { Profile as ProfileI } from "revolt-api/types/Users";
import { User } from "revolt.js/dist/maps/Users";
import styled from "styled-components";
import styled from "styled-components/macro";
import styles from "./Panes.module.scss";
import { Text } from "preact-i18n";

View File

@@ -11,7 +11,7 @@ import {
Bookmark,
BarChartAlt2,
} from "@styled-icons/boxicons-solid";
import styled from "styled-components";
import styled from "styled-components/macro";
import { Text } from "preact-i18n";
import { useEffect, useState } from "preact/hooks";

View File

@@ -4,7 +4,7 @@ import { DragDropContext } from "react-beautiful-dnd";
import { TextChannel, VoiceChannel } from "revolt-api/types/Channels";
import { Category } from "revolt-api/types/Servers";
import { Server } from "revolt.js/dist/maps/Servers";
import styled, { css } from "styled-components";
import styled, { css } from "styled-components/macro";
import { ulid } from "ulid";
import { Text } from "preact-i18n";