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

@ -102,7 +102,6 @@
"@types/node": "^22.13.14",
"@types/nprogress": "^0.2.3",
"@types/three": "^0.175.0",
"@unocss/preset-rem-to-px": "66.1.0-beta.7",
"@vant/auto-import-resolver": "^1.3.0",
"@vitejs/plugin-vue": "^5.2.3",
"@vitejs/plugin-vue-jsx": "^4.1.2",

10
pnpm-lock.yaml generated
View File

@ -182,9 +182,6 @@ importers:
'@types/three':
specifier: ^0.175.0
version: 0.175.0
'@unocss/preset-rem-to-px':
specifier: 66.1.0-beta.7
version: 66.1.0-beta.7
'@vant/auto-import-resolver':
specifier: ^1.3.0
version: 1.3.0
@ -1560,9 +1557,6 @@ packages:
'@unocss/preset-mini@66.1.0-beta.7':
resolution: {integrity: sha512-5v9RNFTk2OMLbE45JVoYA0HtZKCDCI3j7uRAcuRLVP3O/yAd9JlP/b8ou3wvtgxHTXFEgk6Pt8dFDKPadA3Hrw==}
'@unocss/preset-rem-to-px@66.1.0-beta.7':
resolution: {integrity: sha512-ig51UnsHMar1x0N3vytHRxp7qXSlwkzk4j1rjjYCTQ05sBhZbKfu1YD+dvhTilJjPklk5kUND+At6nWgPzHHtA==}
'@unocss/preset-tagify@66.1.0-beta.7':
resolution: {integrity: sha512-8eJLHiyfzwfKjqV4sIP+158h6RSTwuQ4AOC8UZij0AketU9bhFIyfOzgvFALiZBo71LFFDe1gSliZpK/eGan2g==}
@ -6054,10 +6048,6 @@ snapshots:
'@unocss/extractor-arbitrary-variants': 66.1.0-beta.7
'@unocss/rule-utils': 66.1.0-beta.7
'@unocss/preset-rem-to-px@66.1.0-beta.7':
dependencies:
'@unocss/core': 66.1.0-beta.7
'@unocss/preset-tagify@66.1.0-beta.7':
dependencies:
'@unocss/core': 66.1.0-beta.7

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: [