feat: add sc minification + display class names

This commit is contained in:
Paul Makles
2022-01-14 18:50:58 +00:00
parent 2b27bdf021
commit 41dc0a0ad9
82 changed files with 523 additions and 110 deletions

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";

View File

@@ -3,7 +3,7 @@ import { observer } from "mobx-react-lite";
import { useHistory, useParams } from "react-router-dom";
import { animateScroll } from "react-scroll";
import { Channel } from "revolt.js/dist/maps/Channels";
import styled from "styled-components";
import styled from "styled-components/macro";
import useResizeObserver from "use-resize-observer";
import { createContext } from "preact";

View File

@@ -1,5 +1,5 @@
import { Message } from "revolt.js/dist/maps/Messages";
import styled from "styled-components";
import styled from "styled-components/macro";
import { useContext, useEffect, useState } from "preact/hooks";

View File

@@ -6,7 +6,7 @@ import { Masquerade } from "revolt-api/types/Channels";
import { RelationshipStatus } from "revolt-api/types/Users";
import { Message as MessageI } from "revolt.js/dist/maps/Messages";
import { Nullable } from "revolt.js/dist/util/null";
import styled from "styled-components";
import styled from "styled-components/macro";
import { decodeTime } from "ulid";
import { Text } from "preact-i18n";