mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 19:13:54 +00:00
Log out css size
This commit is contained in:
parent
9b3ed7004a
commit
755d6e8950
2 changed files with 9 additions and 2 deletions
|
|
@ -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.
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue