Log out css size

This commit is contained in:
Jordan Eldredge 2023-01-08 15:28:47 -08:00
parent 9b3ed7004a
commit 755d6e8950
2 changed files with 9 additions and 2 deletions

View file

@ -11,7 +11,7 @@ module.exports = {
{
test: /\.css$/,
use: [
"style-loader",
// "style-loader",
{ loader: "css-loader", options: { importLoaders: 1 } },
// We really only need this in prod. We could find a way to disable it in dev.
{

View file

@ -20,10 +20,17 @@ import PlaylistWindow from "./PlaylistWindow";
import EqualizerWindow from "./EqualizerWindow";
import Skin from "./Skin";
import "../../css/webamp.css";
import css from "../../css/webamp.css";
import Media from "../media";
import { useTypedSelector, useActionCreator } from "../hooks";
let l = 0;
for (const c of css) {
l += c[1].length;
}
console.log(l);
interface Props {
filePickers: FilePicker[];
media: Media;