From e6ba5433e27d436e35b9fc3719bc6ce6b2ca537e Mon Sep 17 00:00:00 2001 From: ZhenYi <434836402@qq.com> Date: Tue, 12 May 2026 18:06:20 +0800 Subject: [PATCH] =?UTF-8?q?bucong=20=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 1 + libs/avatar/Cargo.toml | 1 + vite.config.ts | 3 +-- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6f75100..2391dba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1149,6 +1149,7 @@ dependencies = [ "config", "image", "serde", + "tracing", ] [[package]] diff --git a/libs/avatar/Cargo.toml b/libs/avatar/Cargo.toml index 66150db..1148e5b 100644 --- a/libs/avatar/Cargo.toml +++ b/libs/avatar/Cargo.toml @@ -19,5 +19,6 @@ config = { workspace = true } anyhow = { workspace = true } image = { workspace = true } serde = { workspace = true, features = ["derive"] } +tracing = { workspace = true } [lints] workspace = true diff --git a/vite.config.ts b/vite.config.ts index 12f55c0..84f2981 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -2,7 +2,6 @@ import path from "path" import tailwindcss from "@tailwindcss/vite" import react from "@vitejs/plugin-react" import {defineConfig, type Plugin} from "vite" -import {analyzer} from 'vite-bundle-analyzer' function tailwindEscapeFix(): Plugin { return { @@ -17,7 +16,7 @@ function tailwindEscapeFix(): Plugin { } export default defineConfig({ - plugins: [tailwindcss(), tailwindEscapeFix(), react(), analyzer()], + plugins: [tailwindcss(), tailwindEscapeFix(), react()], optimizeDeps: { entries: ["src/**/*.{ts,tsx}"], },