Explorar el Código

♻️ refactor(utils): 优化cn工具的依赖引入

- 移除未使用的clsx默认导入,仅保留ClassValue类型导入
- 减少不必要的依赖加载,优化构建体积
yourname hace 4 meses
padre
commit
78a39c3d65
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mini/src/utils/cn.ts

+ 1 - 1
mini/src/utils/cn.ts

@@ -1,4 +1,4 @@
-import { clsx, type ClassValue } from 'clsx'
+import { type ClassValue } from 'clsx'
 import { create } from '@weapp-tailwindcss/merge';
 import Taro from '@tarojs/taro';