禁用unocss icon autoInstall

This commit is contained in:
Rewrite0
2023-04-26 11:38:34 +08:00
parent 10854f06ea
commit 65fcae827d
3 changed files with 1 additions and 11 deletions

View File

@@ -23,7 +23,6 @@
},
"devDependencies": {
"@antfu/eslint-config": "^0.38.5",
"@iconify-json/carbon": "^1.1.16",
"@types/node": "^18.16.0",
"@unocss/preset-rem-to-px": "^0.51.8",
"@unocss/reset": "^0.51.8",

9
pnpm-lock.yaml generated
View File

@@ -27,9 +27,6 @@ devDependencies:
'@antfu/eslint-config':
specifier: ^0.38.5
version: 0.38.5(eslint@8.39.0)(typescript@4.9.5)
'@iconify-json/carbon':
specifier: ^1.1.16
version: 1.1.16
'@types/node':
specifier: ^18.16.0
version: 18.16.0
@@ -331,12 +328,6 @@ packages:
resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
dev: true
/@iconify-json/carbon@1.1.16:
resolution: {integrity: sha512-AD8bcnRSGA0WfcGEass2FbA0sagrUzrpFx5WchuDy3uf7yKBWumdypdQK121DH321fQDl5+zZQ26T6gC9knwUQ==}
dependencies:
'@iconify/types': 2.0.0
dev: true
/@iconify/types@2.0.0:
resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
dev: true

View File

@@ -11,7 +11,7 @@ export default defineConfig({
presetUno(),
presetRemToPx(),
presetAttributify(),
presetIcons({ autoInstall: true, cdn: 'https://esm.sh/' }),
presetIcons({ cdn: 'https://esm.sh/' }),
],
shortcuts: [[/^wh-(.*)$/, ([, t]) => `w-${t} h-${t}`]],
});