chore: 移除 @unocss/preset-rem-to-px 依赖

This commit is contained in:
mini2024
2025-04-06 03:03:07 +08:00
parent 5e652561a1
commit f77b63cb8c
3 changed files with 6 additions and 14 deletions

View File

@ -3,12 +3,15 @@
import { defineConfig, presetAttributify, presetWind3, transformerDirectives, transformerVariantGroup } from 'unocss';
import { presetAnimations } from 'unocss-preset-animations';
// import presetChinese, { chineseTypography } from 'unocss-preset-chinese';
import { presetShadcn } from 'unocss-preset-shadcn';
// @unocss/preset-rem-to-px
export default defineConfig({
// By default, `.ts` and `.js` files are NOT extracted.
// If you want to extract them, use the following configuration.
// It's necessary to add the following configuration if you use shadcn-vue or shadcn-svelte.
// 默认情况下,`.ts` `.js` 文件不会被提取。
// 如果你想提取它们,请使用以下配置。
// 如果你使用 shadcn-vue shadcn-svelte,则必须添加以下配置。
content: {
pipeline: {
include: [